Changeset 9474 for code/branches/testing/src
- Timestamp:
- Nov 29, 2012, 10:30:42 PM (12 years ago)
- Location:
- code/branches/testing/src
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/CMakeLists.txt
r9473 r9474 78 78 79 79 80 # When using Visual Studio we want to use the output directory as working81 # directory and we also want to specify where the external dlls82 # (lua, ogre, etc.) are. The problem hereby is that these information cannot83 # be specified in CMake because they are not stored in the actual project file.84 # This workaround will create a configured *.vcproj.user file that holds the85 # right values. When starting the solution for the first time,86 # these get written to the *vcproj.yourPCname.yourname.user87 80 IF(MSVC) 88 81 IF(CMAKE_CL_64) … … 90 83 ELSE() 91 84 SET(MSVC_PLATFORM "Win32") 92 ENDIF()93 IF(MSVC10)94 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcxproj.user")95 ELSE()96 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1"97 VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}")98 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcproj.user")99 85 ENDIF() 100 86 ENDIF(MSVC)
Note: See TracChangeset
for help on using the changeset viewer.