<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">my name is Michael, i have just begun
using CMake as a build system for our new project.</font>
<br><font size=2 face="sans-serif">I have set up everything, compilation
succeeded under OpenSuSE11.1 with gcc 4.3.1</font>
<br><font size=2 face="sans-serif">and so i wanted to compile also with
MSVC9.0 under WindowsXP 32bit but had no luck.</font>
<br><font size=2 face="sans-serif">We use OmniORB and somehow the cl.exe
compiler does not seem</font>
<br><font size=2 face="sans-serif">to see the defines i had set with add_definitions(...).
I can not confirm that, since i do not see</font>
<br><font size=2 face="sans-serif">any compiler flags, although i call
nmake with VERBOSE=1. So my question is how do i manage</font>
<br><font size=2 face="sans-serif">to see the complete call to cl.exe.</font>
<br><font size=2 face="sans-serif">Here is what i see now:</font>
<br>
<br><font size=2 face="Courier New">C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe
@C:\DOKUME~1\michmart\LOKALE~1\Temp\nm429.tmp CORBAutil.cpp</font>
<br><font size=2 face="sans-serif">( the file referenced after the @ does
not exist)</font>
<br>
<br><font size=2 face="sans-serif">In the corresponding CMake generated
build.make there is</font>
<br>
<br><font size=2 face="Courier New">C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe
@<<</font>
<br><font size=2 face="Courier New"> /nologo $(CXX_FLAGS) $(CXX_DEFINES)
/TP /FoCMakeFiles\EvalCorba.dir\CORBAutil.cpp.obj /FdD:\SoftwareProjects\eclipseworkspace\EvalDataService\build\release\x86-msvc-win32\lib\static\EvalCorba.pdb
-c D:\SoftwareProjects\eclipseworkspace\EvalDataService\src\corba\CORBAutil.cpp</font>
<br>
<br><font size=2 face="sans-serif">and CXX_FLAGS and CXX_DEFINES (that's
where my OmniORB defines are) are set correctly in flags.make</font>
<br><font size=2 face="sans-serif">(except that the defines in CXX_DEFINES
start with a - instead of a /)</font>
<br><font size=2 face="sans-serif">I use CMake from eclipse set up as a
make target.</font>
<br>
<br><font size=2 face="sans-serif">cheers</font>
<br>
<br><font size=2 face="sans-serif"> Michael</font>
<br>