Changeset 2682
- Timestamp:
- Feb 18, 2009, 10:27:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/CMakeLists.txt
r2664 r2682 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 20 25 PROJECT(Orxonox C CXX) 21 26 … … 27 32 SET(ORXONOX_VERSION 0.0.3) 28 33 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 "Do not use the root directory as CMake output directory! mkdir build; cd build; cmake ..")33 ENDIF()34 34 35 35 # This sets where to look for modules (e.g. "Find*.cmake" files)
Note: See TracChangeset
for help on using the changeset viewer.