Changeset 8858 for code/trunk/CMakeLists.txt
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/CMakeLists.txt
r8474 r8858 29 29 ENDIF() 30 30 31 # Keep devs from using the root directory as binary directory (messes up the source tree) 32 IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR}) 33 MESSAGE(FATAL_ERROR "Please do not use the root directory as CMake output directory! 34 mkdir build; cd build; cmake .. 35 And you will have to clean the source directory by deleting CMakeCache.txt and the folder CMakeFiles") 36 ENDIF() 37 38 PROJECT(Orxonox C CXX) 39 40 # Check AFTER the PROJECT command because MSVC10 gets defined there 31 41 IF(WIN32) 32 42 IF(MSVC10) … … 38 48 CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) 39 49 ENDIF() 40 41 # Keep devs from using the root directory as binary directory (messes up the source tree)42 IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})43 MESSAGE(FATAL_ERROR "Please do not use the root directory as CMake output directory!44 mkdir build; cd build; cmake ..45 And you will have to clean the source directory by deleting CMakeCache.txt and the folder CMakeFiles")46 ENDIF()47 48 PROJECT(Orxonox C CXX)49 50 50 51 ################ General Config #################
Note: See TracChangeset
for help on using the changeset viewer.