[Cmake] Dependency problems?
Bill Hoffman
bill.hoffman at kitware.com
Fri Apr 19 08:34:11 EDT 2002
CMake can create as many binary directories as you want.
For debug and release nmake, you would create a binary directory
win32-debug and win32-release, then change the cache values.
If you are running CMakeSetup, you just specify different binary directories.
When running ccmake or cmake on unix, you run it like this:
mkdir irix-build
cd irix-build
ccmake ../path/to/your/source
-Bill
At 08:16 AM 4/19/2002 -0400, Dennis Ward wrote:
>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
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list