[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] CPack : OS X package installation directory
From: Yngve Inntjore Levinsen <yngve.levinsen () gmail ! com>
Date: 2011-12-28 23:24:25
Message-ID: 1528471.xQTuOPkXuY () yngve-chakra
[Download RAW message or body]
Hi,
S=F8ndag 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/opensour=
ce/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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic