Hi, Søndag 25. desember 2011 20.32.41 skrev Nicholas Yue: > Hi, > > I would like to package up my software to install (via DMG and PKG) > to the /Applications/<my-software> directory > Is the variable CMAKE_INSTALL_PREFIX what you are looking for? Have a look at: cmake --help-variable CMAKE_INSTALL_PREFIX
> How should one configure CMakeLists.txt INSTALL and CPack variable > to install software in the above location i.e. /Applications/<my-software> > > Also, is there a way to check the installation without actually > doing the full installation steps e.g. is there some flags/files to > check the installation directory after the DMG/PKG is created ? > "make -n" works at least, and likewise e.g. "ctest -N" (n/N means dry-run I believe). You could try "make install -n" at least to see where make is moving stuff. Unsure if cpack has something similar. > Regards Cheers, Yngve -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
