diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-14 18:23:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-03-14 18:23:14 (GMT) |
commit | 3abbf15a5a01cef0e204f24173dc57c8d35ad35c (patch) | |
tree | 1bc007894bc15de0b6b9067b4f0af1c673a72c56 /Source/CMakeLists.txt | |
parent | fe41711a0824e1a1379a34739c7c7947c8017c79 (diff) | |
download | CMake-3abbf15a5a01cef0e204f24173dc57c8d35ad35c.zip CMake-3abbf15a5a01cef0e204f24173dc57c8d35ad35c.tar.gz CMake-3abbf15a5a01cef0e204f24173dc57c8d35ad35c.tar.bz2 |
ENH: make xcode compile only on apple
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 37ab5b3..7df4d0b 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -50,14 +50,12 @@ SET(SRCS cmGlobalGenerator.h cmGlobalUnixMakefileGenerator.cxx cmGlobalUnixMakefileGenerator.h - cmGlobalXCodeGenerator.cxx cmListFileCache.cxx cmListFileCache.h cmListFileLexer.c cmLocalGenerator.cxx cmLocalGenerator.h cmLocalUnixMakefileGenerator2.cxx - cmLocalXCodeGenerator.cxx cmMakeDepend.cxx cmMakeDepend.h cmMakefile.cxx @@ -75,7 +73,6 @@ SET(SRCS cmVariableWatch.h cmVersion.cxx cmVersion.h - cmXCodeObject.cxx cmXMLParser.cxx cmXMLParser.h cmake.cxx @@ -90,6 +87,14 @@ IF(UNIX) cmGlobalKdevelopGenerator.cxx cmLocalKdevelopGenerator.cxx) ENDIF(UNIX) +# XCode only works on apple +IF(APPLE) + SET(SRCS ${SRCS} + cmXCodeObject.cxx + cmGlobalXCodeGenerator.cxx + cmLocalXCodeGenerator.cxx + cmLocalXCodeGenerator.h) +ENDIF(APPLE) IF (WIN32) |