Blame view

src/DECODERS/cdf2nc/CMakeLists.txt 391 Bytes
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
1
2
3
4

PROJECT(cdf2nc)

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
17
18
19
20
  ${NETCDFINCLUDE_DIR}
  ${libcdf_INCLUDE_DIR}
)

#Configuration de l'exécutable
file(
        GLOB_RECURSE
        source_files
        ./*
)
  
ADD_EXECUTABLE (cdf2nc ${source_files} )

target_link_libraries(
  cdf2nc
bab9407b   Benjamin Renard   DDClient is now a...
21
  ${DDCLIENTLIBRARY}
bd9dfce2   Benjamin Renard   Add CALLEXT and D...
22
23
24
25
26
  ${NETCDFLIBRARY}
  ${libcdf_LIBRARIES}
)

install (TARGETS cdf2nc DESTINATION bin)