From: Axel R. <ro...@us...> - 2007-11-26 19:11:54
|
Update of /cvsroot/sdif/Easdif/easdif In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv21309/EASDIF_SDIF/easdif Modified Files: CMakeLists.txt Log Message: Added support for dll exports/imports macros and gcc visibility flag. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/sdif/Easdif/easdif/CMakeLists.txt,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** CMakeLists.txt 22 Jun 2007 19:12:05 -0000 1.16 --- CMakeLists.txt 26 Nov 2007 19:11:51 -0000 1.17 *************** *** 7,13 **** ENDIF(NOT LIBRARY_OUTPUT_PATH) # easdif_version.hpp is installed as well but in ../CMakeLists.txt SET(noinst_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/easdifintro.hpp ${CMAKE_CURRENT_BINARY_DIR}/easdif_config.hpp) ! SET(HEADERS easdif.h sdifentity.hpp sdifexception.hpp sdif_frame.hpp sdifinit.hpp sdifmatrixdata.hpp sdifmatrixdatainterface.hpp sdif_matrix.hpp sdifnamevaluetable.hpp ${CMAKE_CURRENT_BINARY_DIR}/easdif_version.hpp ) GET_FILENAME_COMPONENT(normalize_path ${CMAKE_CURRENT_SOURCE_DIR}/../SDIF/sdif ABSOLUTE) --- 7,17 ---- ENDIF(NOT LIBRARY_OUTPUT_PATH) + IF(WIN32) + ADD_DEFINITIONS(-DDO_EXPORT_SDIF=1) + ENDIF(WIN32) + # easdif_version.hpp is installed as well but in ../CMakeLists.txt SET(noinst_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/easdifintro.hpp ${CMAKE_CURRENT_BINARY_DIR}/easdif_config.hpp) ! SET(HEADERS easdif.h easdif_exports.hpp sdifentity.hpp sdifexception.hpp sdif_frame.hpp sdifinit.hpp sdifmatrixdata.hpp sdifmatrixdatainterface.hpp sdif_matrix.hpp sdifnamevaluetable.hpp ${CMAKE_CURRENT_BINARY_DIR}/easdif_version.hpp ) GET_FILENAME_COMPONENT(normalize_path ${CMAKE_CURRENT_SOURCE_DIR}/../SDIF/sdif ABSOLUTE) |