Changeset 247
- Timestamp:
- 01/23/09 15:33:11 (16 years ago)
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r235 r247 26 26 ELSE() 27 27 #This is for UNIX makefile which does only one release at a time. 28 SET(CMAKE_BUILD_TYPE Debug)28 SET(CMAKE_BUILD_TYPE Optimized) 29 29 SET(CMAKE_CXX_FLAGS "-Wall -pipe -Wno-unknown-pragmas") 30 30 SET(CMAKE_CXX_FLAGS_RELEASE " -DNDEBUG -O2") 31 31 SET(CMAKE_CXX_FLAGS_DEBUG "-g") 32 SET(CMAKE_CXX_FLAGS "-O2 -Wall -Wno-unknown-pragmas") 33 ADD_DEFINITIONS(-DNDEBUG) 32 34 INCLUDE(CMakeLocal.txt OPTIONAL) 33 35 ENDIF(WIN32) -
CMake_modules/FindITPP.cmake
r211 r247 20 20 "${ITPP_DIR}\\win32\\lib" 21 21 /usr/pkgs64/lib 22 /usr/lib64 22 23 NO_DEFAULT_PATH 23 24 ) -
tests/CMakeLists.txt
r235 r247 4 4 # Make sure the linker can find the Hello library once it is built. 5 5 link_directories (${BDM_BINARY_DIR}/bdm) 6 7 # Define macro for testing a file 8 MACRO(TEST FN) 9 add_executable (${FN} ${FN}.cpp) 10 target_link_libraries (${FN} debug itpp_debug) 11 target_link_libraries (${FN} optimized itpp) 12 target_link_libraries (${FN} bdm ${AddLib}) 13 ENDMACRO(TEST) 6 14 7 15 # Add executable called "helloDemo" that is built from the source files … … 40 48 41 49 IF(${XERCES_FOUND}) 42 EXEC(testUI)43 target_link_libraries (testUI ${XERCES_LIBRARIES})50 EXEC(testUI) 51 target_link_libraries (testUI ${XERCES_LIBRARIES}) 44 52 ENDIF(${XERCES_FOUND})