Changeset 2683
- Timestamp:
- Feb 18, 2009, 10:35:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/CMakeLists.txt
r2682 r2683 18 18 # 19 19 20 # Keep devs from using the root directory as binary directory (messes up the source tree)21 IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})22 MESSAGE(FATAL_ERROR "Do not use the root directory as CMake output directory! mkdir build; cd build; cmake ..")23 ENDIF()24 25 20 PROJECT(Orxonox C CXX) 26 21 … … 32 27 SET(ORXONOX_VERSION 0.0.3) 33 28 SET(ORXONOX_VERSION_NAME "Castor") 29 30 # Keep devs from using the root directory as binary directory (messes up the source tree) 31 IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR}) 32 MESSAGE(FATAL_ERROR "Please do not use the root directory as CMake output directory! 33 mkdir build; cd build; cmake .. 34 And you will have to clean the source directory by deleting CMakeCache.txt and the folder CMakeFiles") 35 ENDIF() 34 36 35 37 # This sets where to look for modules (e.g. "Find*.cmake" files)
Note: See TracChangeset
for help on using the changeset viewer.