Blame view

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

b1aa926a   Benjamin Renard   Add extern "c"
2
PROJECT(themis_esa2nc)
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
3
4
5
6
7
8
9
10
11
12
13
14
15
16

include_directories(
  ${CMAKE_HOME_DIRECTORY}/src/INCLUDE/
  ${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_esa2nc ${source_files} )
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
18
19

target_link_libraries(
b1aa926a   Benjamin Renard   Add extern "c"
20
  themis_esa2nc
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
21
22
23
24
25
  DD_Client
  ${NETCDFLIBRARY}
  ${libcdf_LIBRARIES}
)

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