File: CMakeLists.txt

package info (click to toggle)
kdsoap 2.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,000 kB
  • sloc: cpp: 19,877; python: 63; makefile: 13
file content (48 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (4)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
set(CODE_GENERATION_SOURCES
	class.cpp
	code.cpp
	enum.cpp
	file.cpp
	function.cpp
	include.cpp
	license.cpp
	membervariable.cpp
	namer.cpp
	printer.cpp
	statemachine.cpp
	style.cpp
	typedef.cpp
	variable.cpp
)

set(CODE_GENERATION_HEADERS
	class.h
	code.h
	enum.h
	file.h
	function.h
	include.h
	kode_export.h
	license.h
	membervariable.h
	namer.h
	printer.h
	statemachine.h
	style.h
	typedef.h
	variable.h
)

add_library(kode STATIC
	${CODE_GENERATION_SOURCES} ${CODE_GENERATION_HEADERS}
)

target_link_libraries(kode
        Qt${QT_MAJOR_VERSION}::Core
)

target_include_directories(kode PUBLIC
        Qt${QT_MAJOR_VERSION}::Core
)

set_target_properties(kode PROPERTIES OUTPUT_NAME "kode${kode_LIBRARY_QTID}")