Blame view

src/CLIENT/CMakeLists.txt 306 Bytes
4243d674   Benjamin Renard   First commit
1

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

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

#Library configuration
file(
	GLOB_RECURSE
	source_files
	./*
)

3c7c7fa7   Benjamin Renard   Set library path ...
15
ADD_LIBRARY( DD_Client SHARED ${source_files} )
4243d674   Benjamin Renard   First commit
16
17

target_link_libraries(
3c7c7fa7   Benjamin Renard   Set library path ...
18
	DD_Client
4243d674   Benjamin Renard   First commit
19
20
21
	${CMAKE_THREAD_LIBS_INIT}
)

3c7c7fa7   Benjamin Renard   Set library path ...
22
install (TARGETS DD_Client DESTINATION lib)