Blame view

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

3c7c7fa7   Benjamin Renard   Set library path ...
2
PROJECT(DD_Server)
4243d674   Benjamin Renard   First commit
3
4
5
6
7
8
9
10
11
12
13
14
15

include_directories(
  ${CMAKE_HOME_DIRECTORY}/src/INCLUDE/
  ${NETCDFINCLUDE_DIR}
)

#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}
3c7c7fa7   Benjamin Renard   Set library path ...
21
  DD_Client
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)