[sldev] CMake 2.6.2 RC 3
Bill Hoffman
bill.hoffman at kitware.com
Tue Sep 9 07:09:55 PDT 2008
Aimee Walton wrote:
>
> Hi Bill,
>
> I do have one remaining issue. When using the 2.6.2 RC with Xcode 3.1 on
> the Mac, the appropriate -g and -O flags aren't getting passed through
> so when selecting Debug, or RelWithDebugInfo, it's getting built without
> debug symbols, it works fine with 2.4.8.
>
I am unable to reproduce this issue. Can you send me the
project.pbxproj file generated by CMake 2.4 and 2.6?
In my tests I see this:
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
Also, if I run xcodebuild I see this:
Debug:
CompileC CxxOnly.build/Debug/CxxOnly.build/Objects-normal/i386/cxxonly.o
"/Users/kitware/hoffman/My Tests/CMake/Tests/CxxOnly/cxxonly.cxx" normal
i386 c++ com.apple.compilers.gcc.4_0
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -g -O0 -DCMAKE_INTDIR=\"Debug\"
-fmessage-length=0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-O0 -mdynamic-no-pic -F/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/Debug -I/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/Debug/include -I/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/CxxOnly.build/Debug/CxxOnly.build/DerivedSources
-c /Users/kitware/hoffman/My\ Tests/CMake/Tests/CxxOnly/cxxonly.cxx -o
/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/CxxOnly.build/Debug/CxxOnly.build/Objects-normal/i386/cxxonly.o
Release:
CompileC
CxxOnly.build/Release/CxxOnly.build/Objects-normal/i386/cxxonly.o
"/Users/kitware/hoffman/My Tests/CMake/Tests/CxxOnly/cxxonly.cxx" normal
i386 c++ com.apple.compilers.gcc.4_0
cd "/Users/kitware/hoffman/My Tests/CMake/Tests/CxxOnly/b"
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -O3 -DCMAKE_INTDIR=\"Release\"
-fmessage-length=0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
-O0 -mdynamic-no-pic -F/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/Release -I/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/Release/include -I/Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/CxxOnly.build/Release/CxxOnly.build/DerivedSources
-DNDEBUG -c /Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/cxxonly.cxx -o /Users/kitware/hoffman/My\
Tests/CMake/Tests/CxxOnly/b/CxxOnly.build/Release/CxxOnly.build/Objects-normal/i386/cxxonly.o
-Bill
More information about the SLDev
mailing list