Blame view

src/DECODERS/themis/CMakeLists.txt 550 Bytes
7d7445ea   Elena.Budnik   THEMIS remote center
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

PROJECT(THEMIS)

include_directories(
  ${DDCLIENTINCLUDE_DIR}
  ${NETCDFINCLUDE_DIR}
  ${libcdf_INCLUDE_DIR}
)

#Configuration de l'exécutable

file( GLOB SOURCE_FILES ./*.c )

foreach( sourcefile ${SOURCE_FILES} )
    get_filename_component( source ${sourcefile} NAME)
    string( REPLACE ".c" "" exefile ${source} )
    add_executable( ${exefile} ${source} )
    target_link_libraries( ${exefile} ${DDCLIENTLIBRARY} ${NETCDFLIBRARY} ${libcdf_LIBRARIES} )
    install (TARGETS ${exefile} DESTINATION bin)
endforeach( sourcefile ${SOURCE_FILE} )