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