Changeset 303
- Timestamp:
- 03/20/09 11:15:29 (16 years ago)
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r286 r303 24 24 INCLUDE(\\win32\\local_paths.txt OPTIONAL) 25 25 ADD_DEFINITIONS(-DHAVE_ACML) 26 ELSE() 26 ENDIF(WIN32) 27 IF(APPLE) 28 SET(ITPP_DIR "${BDM_SOURCE_DIR}\\macosx\\itpp-4.0.6") 29 FIND_LIBRARY(FRAMEWORK_VECLIB vecLib) 30 ADD_DEFINITIONS(-DHAVE_XLOCALE_H) 31 ENDIF(APPLE) 32 IF(UNIX) 27 33 #This is for UNIX makefile which does only one release at a time. 28 34 SET(CMAKE_BUILD_TYPE Debug) … … 32 38 #ADD_DEFINITIONS(-DNDEBUG) 33 39 INCLUDE(CMakeLocal.txt OPTIONAL) 34 ENDIF( WIN32)40 ENDIF(UNIX) 35 41 36 42 FIND_PACKAGE(ITPP REQUIRED) … … 54 60 MACRO(EXEC FN) 55 61 add_executable (${FN} ${FN}.cpp) 62 IF(WIN32) 56 63 target_link_libraries (${FN} debug itpp_debug) 57 64 target_link_libraries (${FN} optimized itpp) 58 IF(WIN32)59 65 target_link_libraries (${FN} libacml_dll) 60 # ELSE(WIN32) 61 # target_link_libraries (${FN} itpp) 66 ELSE(WIN32) 67 IF(APPLE) 68 target_link_libraries (${FN} ${FRAMEWORK_VECLIB}) 69 ENDIF(APPLE) 70 target_link_libraries (${FN} itpp) 62 71 ENDIF(WIN32) 63 72 target_link_libraries (${FN} bdm) -
CMake_modules/FindITPP.cmake
r294 r303 18 18 FIND_LIBRARY(ITPP_LIBRARY 19 19 NAMES itpp itpp_debug 20 PATHS ${ITPP_DIR}/libs 20 PATHS ${ITPP_DIR}/libs 21 ${ITPP_DIR}/itpp/.libs/ 21 22 "${ITPP_DIR}\\win32\\lib" 22 23 /usr/pkgs64/lib -
bdm/libconfig/libconfig.c
r248 r303 37 37 #include <locale.h> 38 38 39 #ifdef HAVE_XLOCALE_H39 #ifdef __APPLE__ 40 40 #include <xlocale.h> 41 41 #endif