[CMake] Help re-generating CMakeCache

2010-03-24 Thread Ashwin Chandra
I am using a Linux makefile to pass an environment variable into cmake. For example, I call "MYVAR=test make -f Linux.mak debug-build" Then inside my Linux.mak I issue a "cmake ... -DMYCMAKEVAR=$(MYVAR)". This defintion works fine the first time I do a build and cmake generates all the

Re: [CMake] CMakeCache changing due to PDB

2009-08-01 Thread Ashwin Chandra
Thanks Brad. Please note that I think it is related to precompiled headers. The pch file seems to always make the pdb lowercase but without this, I don't believe it is an issue. From: Brad King Sent: Sat 8/1/2009 5:44 AM To: Ashwin Chandra Cc: cmake@cmake.org; Bill Hoffman Subjec

[CMake] CMakeCache changing due to PDB

2009-07-31 Thread Ashwin Chandra
If I initiate a cmake build twice in a row (from clean state), the second time it does re-linking of files all over again. I have traced the problem and found that the build.make files in each project dir have changed. The only changes are the case of the PDB file. For example: "$(CXX_FLAGS) $(

Re: [CMake] TRY_COMPILE help...Does anyone know?

2009-07-31 Thread Ashwin Chandra
ndrik-sattler.de] Sent: Friday, July 31, 2009 12:55 AM To: Ashwin Chandra Cc: cmake@cmake.org Subject: RE: [CMake] TRY_COMPILE help...Does anyone know? Zitat von Ashwin Chandra : > How do I make a custom platform file for my custom compiler and get my > Cmake project to use that? I just see

Re: [CMake] TRY_COMPILE help...Does anyone know?

2009-07-31 Thread Ashwin Chandra
I think I don't understand how cmake picks up platform files from my main Cmake project? -Original Message- From: Hendrik Sattler [mailto:p...@hendrik-sattler.de] Sent: Friday, July 31, 2009 12:55 AM To: Ashwin Chandra Cc: cmake@cmake.org Subject: RE: [CMake] TRY_COMPILE help..

Re: [CMake] TRY_COMPILE help...Does anyone know?

2009-07-30 Thread Ashwin Chandra
How do I make a custom platform file for my custom compiler and get my Cmake project to use that? -Original Message- From: Hendrik Sattler [mailto:p...@hendrik-sattler.de] Sent: Thursday, July 30, 2009 11:34 PM To: Ashwin Chandra Cc: cmake@cmake.org Subject: RE: [CMake] TRY_COMPILE help

Re: [CMake] TRY_COMPILE help...Does anyone know?

2009-07-30 Thread Ashwin Chandra
Re: [CMake] TRY_COMPILE help...Does anyone know? Zitat von Ashwin Chandra : > I am using a custom compiler and during the initialization of CMake, the > CMakeTestCCompiler.cmake is invoked which tries to compile a simple > program. However the compile fails it is because of the flags passe

Re: [CMake] TRY_COMPILE help...Does anyone know?

2009-07-30 Thread Ashwin Chandra
I am using a custom compiler and during the initialization of CMake, the CMakeTestCCompiler.cmake is invoked which tries to compile a simple program. However the compile fails it is because of the flags passed to the compiler. For example, the command line that is generated by CMake is: "C

[CMake] TRY_COMPILE help...

2009-07-27 Thread Ashwin Chandra
I am using a custom compiler and during the initialization of CMake, the CMakeTestCCompiler.cmake is invoked which tries to compile a simple program. However the compile fails it is because of the flags passed to the compiler. For example, the command line that is generated by CMake is: "C

Re: [CMake] TRY_COMPILE NOT WORKING

2009-07-20 Thread Ashwin Chandra
Does anyone have any insight to the below problem? From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Ashwin Chandra Sent: Sunday, July 19, 2009 12:24 AM To: cmake@cmake.org Subject: [CMake] TRY_COMPILE NOT WORKING I am using a custom compiler and during the

[CMake] TRY_COMPILE NOT WORKING

2009-07-19 Thread Ashwin Chandra
I am using a custom compiler and during the initialization of CMake, the CMakeTestCCompiler.cmake is invoked which tries to compile a simple program. However the compile fails it is because of the flags passed to the compiler. For example, the command line that is generated by CMake is: "C