Changeset 8846 for code/branches
- Timestamp:
- Aug 15, 2011, 12:03:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/CMakeLists.txt
r8474 r8846 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.