[CMake] Path depth under windows

2008-03-14 Thread Yann Renard
Hi people, I have a problem compiling some software with cmake under windows because of path depth reaching the OS limit. It seems like cmake reproduces the full path where the file is located under the build directory/target directory. Is it possible to find a workaround for this ? Under Li

Re: [CMake] Preserve file date on copy

2007-06-04 Thread Yann Renard
Bill Hoffman wrote: Yann Renard wrote: I have several modules managed with cmake and a script to build all the modules at once. When a simple module gets modified, cmake rebuilds what is needed in it and copies the API files in the include path. Those API files' date get modified at this

[CMake] Preserve file date on copy

2007-06-04 Thread Yann Renard
f all modules depending on this first simple module. My wish would be to avoid date change at copy time to free some time during build process. (copies are made thanks to cmake command mode calls) Anyone can help ? Best regards, Yann Renard ___ CMake ma

Re: [CMake] Problem with ADD_DEFINITIONS

2007-03-26 Thread Yann Renard
ith ADD_DEFINITIONS. Then again ADD_DEFINITIONS > needed for the next target and so on... > > The first option is in IMHO a better option in most cases. > > Warm regards, > Kishore Works with SET_TARGET_PROPERTIES, thank you ! Best regards, Yann Renard _

[CMake] Problem with ADD_DEFINITIONS

2007-03-23 Thread Yann Renard
Dear list, I have problems with ADD_DEFINITIONS : I have two target in my CMakeLists which I'd like to have different -D flags. If I add ADD_DEFINITIONS, it seems like both targets are affected. How coul I do such thing ? Thanks Yann Renard ___

[CMake] Use of -J option with cmake generated makefiles

2007-01-26 Thread Yann Renard
work better ? Thank you, best regards Yann Renard ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] remove filename line when building under windows

2006-11-08 Thread Yann Renard
Hi people, is it possible to remove the line containing the compiled filename under windows (MS visual studio 8) ? this line is printed by cl I imagine but cmake already informs about the built file. this is not clean in my opinion. thanks for any help, best regards Yann Renard

[CMake] Deleting a directory

2006-08-30 Thread Yann Renard
tree but after that, it would be nice to remove the tree itself. How could I remove those directories ? cmake -E seems not to be able to remove directories. Best regards, Yann Renard ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Using cmake under windows

2006-08-28 Thread Yann Renard
Brad King wrote: Yann Renard wrote: Brad King wrote: You need to run CMake from the same command prompt in which the environment is set. From that same command prompt try: mkdir myproj-build cd myproj-build cmake c:/path/to/myproj -G"NMake Makefiles" Make sure you have a clean s

Re: [CMake] Using cmake under windows

2006-08-28 Thread Yann Renard
Brad King wrote: Yann Renard wrote: You did not run cmake / cmakesetup from the correct command prompt. Therefore your env vars 'LIB' and 'INCLUDE' are not set correct. Take a look into your start menu (PlatformSDK -> OpenBuildEnv Window -> ...) and don't open y

Re: [CMake] Using cmake under windows

2006-08-28 Thread Yann Renard
INCLUDE' are not set correct. Take a look into your start menu (PlatformSDK -> OpenBuildEnv Window -> ...) and don't open your command prompt by executing cmd.exe. No, as I said before, typing 'set' at the command prompt reports correctly set environment variables. Do you think I missed something here ? Best regards, Yann Renard ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Using cmake under windows

2006-08-28 Thread Yann Renard
Arjen Markus wrote: Yann Renard wrote: Cheers guys, I'm trying to use cmake under windows in order to generate VC8 makefiles. I have read http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter about windows and written down a sript that looks like this : set path=d:\yr

[CMake] Using cmake under windows

2006-08-28 Thread Yann Renard
of the platform SDK compile correctly. I'm using Windows 2003 Server, Visual Studio 8, Visual C++ 8, Platform SDK 2003 R2, cmake 2.4.3. I don't use cygwin. Could someone help ? Best regards, Yann Renard ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake