[Cmake] Dependency problems?

Dennis Ward dward at altair.com
Fri Apr 19 08:16:03 EDT 2002


I am trying out CMake for the first time (v1.2, nmake output), and was
trying to build a simple library under win32 and will eventually port to
several flavors of UNIX.

This sample consists of a single source file, but I am having problems
setting the build configuration to debug or release.  I changed the option
in CMakeCache.txt, which regenerated the makefile and dependencies, but
didn't trigger a rebuild of the source.

Am I switching the configuration correctly by editing the CMakeCache.txt
file?

As an aside, I would like to control the directory name on a per-platform
basis and get rid of the "Debug" and "Release" directory on the PC build.  I
would like the output directory to be named win32, irix, hpux, ...  Any
Ideas?

Thanks for the help!

Dennis

Dennis Ward
Altair Engineering
(248)614-2408 X 350
dward at altair.com




More information about the CMake mailing list