[CMake] CMake-CPack-NSIS
Alin M Elena
alin.elena at qub.ac.uk
Tue Apr 8 10:39:15 EDT 2008
Hi,
I want to setup a variable(TestVar) on windows when I use NSIS
using cmake/cpack.
A small example is presented here
http://nsis.sourceforge.net/Setting_Environment_Variables
The idea is that the project.nsi which is created by cmake already sets a
variable PATH.
Can I reuse some of the functions already defined there?
I suspect that everything should be added using
CPACK_NSIS_EXTRA_(UN)INSTALL_COMMANDS
I see the plural form of the commands. Can you pass more commands? How do
you separate them?
Alin
____________________________________________________________________
"...if the universities will not study useless subjects, who will?"
G. F. Fitzgerald, Nature, 45/46, 392 (1892)
______________________________________________________________________
Mr. Alin M. ELENA
Atomistic Simulation Centre
School of Mathematics and Physics
Queen's University Belfast
Office: +44 (0)28 9097 1428
Fax: +44 (0)28 9097 5359
http://titus.phy.qub.ac.uk/group/Alin/
alin.elena at yahoo.co.uk
alin.elena at qub.ac.uk
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080408/59b93401/attachment-0001.htm>
More information about the CMake
mailing list