Debian Codegraph @

src/filter/alpha0ps/CMakeLists.txt

raw
1 set (O_SOURCES alpha0ps_alpha0ps.c fibe_f.h)
2 set (G_SOURCES alpha0ps_alphagrad.c)
3 set (S_SOURCES alpha0ps_alphaspot.c)
4
5 if (MSVC)
6 set (O_SOURCES ${O_SOURCES} ${FREI0R_DEF})
7 set (G_SOURCES ${G_SOURCES} ${FREI0R_DEF})
8 set (S_SOURCES ${S_SOURCES} ${FREI0R_DEF})
9 endif (MSVC)
10
11 add_library (alpha0ps_alpha0ps MODULE ${O_SOURCES})
12 add_library (alpha0ps_alphagrad MODULE ${G_SOURCES})
13 add_library (alpha0ps_alphaspot MODULE ${S_SOURCES})
14
15 if(NOT MSVC)
16 target_link_libraries(alpha0ps_alpha0ps -lm)
17 target_link_libraries(alpha0ps_alphagrad -lm)
18 target_link_libraries(alpha0ps_alphaspot -lm)
19 endif()
20
21 set_target_properties (alpha0ps_alpha0ps PROPERTIES PREFIX "")
22 set_target_properties (alpha0ps_alphagrad PROPERTIES PREFIX "")
23 set_target_properties (alpha0ps_alphaspot PROPERTIES PREFIX "")
24
25 install (TARGETS alpha0ps_alpha0ps LIBRARY DESTINATION ${LIBDIR})
26 install (TARGETS alpha0ps_alphagrad LIBRARY DESTINATION ${LIBDIR})
27 install (TARGETS alpha0ps_alphaspot LIBRARY DESTINATION ${LIBDIR})