[CMake] cpack rocks + PATH

Jan Woetzel jw at mip.informatik.uni-kiel.de
Mon Jun 19 05:07:10 EDT 2006


Hi,
I am impressed about cpack- it has never been so easy to write a simple 
installer for Windows and Linux.
Great work!

One last wish on my list ...
The Nsis installer is optionally adding
CPACK_PACKAGE_INSTALL_DIRECTORY
to PATH by default, e.g. C:\Programs\Foo

(1) Is there an easy way to add CPACK_PACKAGE_INSTALL_DIRECTORY/bin to 
PATH instead (e.g. C:\Programs\Foo\BIN)
Can you give me a pointer?
A short look at CPackConfig.cmake.in/CPackConfig.cmake did not help me.

For the records: I followed the CMake installer example and it worked 
out of the box.

Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list