[CMake] CPACK variable
Stephen Rasku
cmake at srasku.net
Thu Dec 6 12:05:52 EST 2012
I am using cmake/cpack 2.8.9. We have cmake wrapped in Makefile.
CMAKE and CPACK are defined in the Makefile as the full path to the
respective executables. Cmake is expanding the cmake definition to
the full path but cpack doesn't include the full path. This is the
relevant section of CMakeFiles/rpm.dir/build.make. As you can see,
cmake includes the full path but cpack does not.
CMakeFiles/rpm:
cpack
/tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
myPackage-devel.rpm myPackage-devel-1.0-3.i586-linux.rpm
/tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
myPackage-release.rpm myPackage-1.0-3.i586-linux.rpm
...Stephen
More information about the CMake
mailing list