Blame view

src/SERVER/CMakeLists.txt 404 Bytes
4243d674   Benjamin Renard   First commit
1

3c7c7fa7   Benjamin Renard   Set library path ...
2
PROJECT(DD_Server)
4243d674   Benjamin Renard   First commit
3
4

include_directories(
4243d674   Benjamin Renard   First commit
5
  ${NETCDFINCLUDE_DIR}
bab9407b   Benjamin Renard   DDClient is now a...
6
  ${DDCLIENTINCLUDE_DIR}
4243d674   Benjamin Renard   First commit
7
8
9
10
11
12
13
14
15
)

#Configuration de l'exécutable
file(
        GLOB_RECURSE
        source_files
        ./*
)
  
3c7c7fa7   Benjamin Renard   Set library path ...
16
ADD_EXECUTABLE (DD_Server ${source_files} )
4243d674   Benjamin Renard   First commit
17
18

target_link_libraries(
3c7c7fa7   Benjamin Renard   Set library path ...
19
  DD_Server
4243d674   Benjamin Renard   First commit
20
  ${CMAKE_THREAD_LIBS_INIT}
bab9407b   Benjamin Renard   DDClient is now a...
21
  ${DDCLIENTLIBRARY}
4243d674   Benjamin Renard   First commit
22
23
  ${NETCDFLIBRARY}
  ${CRYPT_LIBRARY}
4243d674   Benjamin Renard   First commit
24
25
)

3c7c7fa7   Benjamin Renard   Set library path ...
26
install (TARGETS DD_Server DESTINATION bin)