-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
89 lines (79 loc) · 2.26 KB
/
CMakeLists.txt
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
cmake_minimum_required(VERSION 3.18)
project(lunchtoast VERSION 0.4.1 DESCRIPTION "lunchtoast - a command-line tool for functional testing of console applications.")
find_package(Boost 1.78 REQUIRED COMPONENTS system filesystem)
include(external/seal_lake)
SealLake_Import(sfun 5.1.0
GIT_REPOSITORY https://github.com/kamchatka-volcano/sfun
GIT_TAG v5.1.0
)
SealLake_Import(cmdlime 2.6.0
GIT_REPOSITORY https://github.com/kamchatka-volcano/cmdlime
GIT_TAG v2.6.0
)
set(FIGCONE_USE_SHOAL ON)
SealLake_Import(figcone 3.1.0
GIT_REPOSITORY https://github.com/kamchatka-volcano/figcone
GIT_TAG v3.1.0
)
SealLake_Import(fmt 9.1.0
GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 9.1.0
)
set(SPDLOG_FMT_EXTERNAL ON)
SealLake_Import(spdlog 1.11.0
GIT_REPOSITORY https://github.com/gabime/spdlog
GIT_TAG v1.11.0
)
SealLake_Import(GSL 4.0.0
GIT_REPOSITORY https://github.com/microsoft/GSL.git
GIT_TAG v4.0.0
)
SealLake_Import(platform_folders 4.2.0
GIT_REPOSITORY https://github.com/sago007/PlatformFolders.git
GIT_TAG 4.2.0
)
SealLake_Bundle(
NAME range-v3
SKIP_LOAD
GIT_REPOSITORY https://github.com/ericniebler/range-v3
GIT_TAG 0.12.0
)
set(SRC
src/testcontentsgenerator.cpp
src/comparefilecontent.cpp
src/comparefiles.cpp
src/filenamegroup.cpp
src/launchprocess.cpp
src/linestream.cpp
src/main.cpp
src/sectionsreader.cpp
src/testactionresult.cpp
src/test.cpp
src/testlauncher.cpp
src/testreporter.cpp
src/testresult.cpp
src/useraction.cpp
src/useractionformatparser.cpp
src/utils.cpp
src/writefile.cpp
src/wait.cpp
)
SealLake_Executable(
SOURCES ${SRC}
COMPILE_FEATURES cxx_std_20
PROPERTIES
CXX_EXTENSIONS OFF
INCLUDES ${SEAL_LAKE_SOURCE_range-v3}/include
LIBRARIES
Boost::boost
Boost::filesystem
spdlog::spdlog
sfun::sfun
cmdlime::cmdlime
figcone::figcone
fmt::fmt
Microsoft.GSL::GSL
sago::platform_folders
)
target_compile_definitions(lunchtoast PRIVATE _UNICODE UNICODE)
SealLake_OptionalSubProjects(tests)