Debian Codegraph @

tools/medimport/3.0.0/CMakeLists.txt

raw
1 SET(medimport300_SOURCES
2 MAJ_300_310_champs.c
3 )
4
5 # On Win platform, we need to make sure symbols are properly exported in
6 # the intermediary OBJECT targets
7 # The definition "-D<target>_EXPORTS" is normally added automatically by CMake
8 # when building Win DLL,
9 # but this doesn't work when using intermediary targets (ADD_LIBRARY(... OBJECT ...)
10 IF(WIN32)
11 ADD_DEFINITIONS(-Dmedimport_EXPORTS)
12 ENDIF()
13
14 ADD_LIBRARY(_medimport300 OBJECT ${medimport300_SOURCES})
15
16 ADD_LIBRARY(_medimport300_static OBJECT ${medimport300_SOURCES})
17 MED_SET_DEFINITIONS(_medimport300_static MED3_USESTATIC)