summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 2e4741ad8fa5f528fa9949c04673cdbe539c51e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 3.5)

project(qicclient)

set(CMAKE_AUTOMOC ON)

find_package(Qt5Core)

add_library(${PROJECT_NAME} SHARED
	${PROJECT_NAME}/member.hxx
	${PROJECT_NAME}/catalog.hxx
	${PROJECT_NAME}/ord.hxx
	${PROJECT_NAME}/client.hxx
	member.cxx
	catalog.cxx
	ord.cxx
	client.cxx
	)

target_link_libraries(${PROJECT_NAME}
	Qt5::Core
	icclient
	)

target_compile_definitions(${PROJECT_NAME} PRIVATE QICCLIENT)

install(TARGETS ${PROJECT_NAME} DESTINATION lib)
install(FILES
	${PROJECT_NAME}/member.hxx
	${PROJECT_NAME}/product.hxx
	${PROJECT_NAME}/catalog.hxx
	${PROJECT_NAME}/ord.hxx
	${PROJECT_NAME}/client.hxx
	DESTINATION include/${PROJECT_NAME}
	)