summaryrefslogtreecommitdiff
path: root/dux-demo/CMakeLists.txt
blob: 7c799d8468b1a11dbe883e2cacc40eb36382e83a (plain) (blame)
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
cmake_minimum_required(
	VERSION
	3.19
)

# Language Standards:
set(
	CMAKE_C_STANDARD
	11
)
set(
	CMAKE_C_STANDARD_REQUIRED
	TRUE
)
set(
	CMAKE_CXX_STANDARD
	20
)
set(
	CMAKE_CXX_STANDARD_REQUIRED
	TRUE
)

# Project:
project(
	dux-demo
	LANGUAGES
	C
	CXX
	VERSION
	${DUX_VERSION}
)

# Target:
add_executable(
	dux-demo
	"ctest.c"
	"main.cc"
)

# Dependencies:
target_link_libraries(
	dux-demo
	dux
)