Blame view

src/DECODERS/themis/sst2nc/CMakeLists.txt 419 Bytes
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
1

b1aa926a   Benjamin Renard   Add extern "c"
2
PROJECT(themis_sst2nc)
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
3
4

include_directories(
bab9407b   Benjamin Renard   DDClient is now a...
5
  ${DDCLIENTINCLUDE_DIR}
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
6
7
8
9
10
11
12
13
14
15
16
  ${NETCDFINCLUDE_DIR}
  ${libcdf_INCLUDE_DIR}
)

#Configuration de l'exécutable
file(
        GLOB_RECURSE
        source_files
        ./*
)
  
b1aa926a   Benjamin Renard   Add extern "c"
17
ADD_EXECUTABLE (themis_sst2nc ${source_files} )
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
18
19

target_link_libraries(
b1aa926a   Benjamin Renard   Add extern "c"
20
  themis_sst2nc
bab9407b   Benjamin Renard   DDClient is now a...
21
  ${DDCLIENTLIBRARY}
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
22
23
24
25
  ${NETCDFLIBRARY}
  ${libcdf_LIBRARIES}
)

b1aa926a   Benjamin Renard   Add extern "c"
26
install (TARGETS themis_sst2nc DESTINATION bin)