summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-01 18:12:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-01 18:12:19 (GMT)
commit8960a220a9a1e8340c2bb3bcdf640c42037129d1 (patch)
treedc01bcf819349bb10b205cd0023b53a66d7e8a4a
parentb08e6ecb38798aab89bb35450658c6c0a85860ce (diff)
downloadCMake-8960a220a9a1e8340c2bb3bcdf640c42037129d1.zip
CMake-8960a220a9a1e8340c2bb3bcdf640c42037129d1.tar.gz
CMake-8960a220a9a1e8340c2bb3bcdf640c42037129d1.tar.bz2
ENH: add trycompile code for xcode
-rw-r--r--Modules/CMakeFindXCode.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CMakeFindXCode.cmake b/Modules/CMakeFindXCode.cmake
new file mode 100644
index 0000000..417edc5
--- /dev/null
+++ b/Modules/CMakeFindXCode.cmake
@@ -0,0 +1,6 @@
+FIND_PROGRAM(CMAKE_MAKE_PROGRAM
+ NAMES xcodebuild
+ PATHS
+ /usr/bin
+ )
+MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)