Debian Codegraph @

tools/medimport/3.1.0/CMakeLists.txt

raw
1 SET(medimport310_SOURCES
2 MAJ_310_320_familles.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(_medimport310 OBJECT ${medimport310_SOURCES})
15
16 ADD_LIBRARY(_medimport310_static OBJECT ${medimport310_SOURCES})
17 MED_SET_DEFINITIONS(_medimport310_static MED3_USESTATIC)