Changeset 9474 for code/branches/testing/test/util
- Timestamp:
- Nov 29, 2012, 10:30:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/test/util/CMakeLists.txt
r9221 r9474 1 ADD_EXECUTABLE(1 ORXONOX_ADD_EXECUTABLE( 2 2 util_test 3 3 EXCLUDE_FROM_ALL 4 NO_INSTALL 5 LINK_LIBRARIES 6 util 7 gmock_orxonox 8 SOURCE_FILES 4 9 ${GMOCK_MAIN} 5 10 ConvertTest.cc … … 15 20 VA_NARGSTest.cc 16 21 ) 17 TARGET_LINK_LIBRARIES(util_test util gmock_orxonox)18 22 ADD_DEPENDENCIES(test util_test) 19 23 20 24 ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test) 21 22 #-----------------23 24 IF(MSVC)25 IF(CMAKE_CL_64)26 SET(MSVC_PLATFORM "x64")27 ELSE()28 SET(MSVC_PLATFORM "Win32")29 ENDIF()30 IF(MSVC10)31 CONFIGURE_FILE("../../src/orxonox-main.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcxproj.user")32 ELSE()33 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1"34 VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}")35 CONFIGURE_FILE("../../src/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcproj.user")36 ENDIF()37 ENDIF(MSVC)
Note: See TracChangeset
for help on using the changeset viewer.