2017-08-27 13:25:16 +02:00
|
|
|
add_library(core STATIC
|
|
|
|
|
my_boost_assert_handler.cpp
|
2026-10-17 16:21:22 +02:00
|
|
|
SqlLexer.cpp
|
2026-10-22 17:52:37 +02:00
|
|
|
SqlContext.cpp
|
2026-10-17 16:21:22 +02:00
|
|
|
CsvWriter.cpp
|
|
|
|
|
BackupFormatModel.cpp
|
|
|
|
|
ExplainTreeModelItem.cpp
|
|
|
|
|
jsoncpp.cpp
|
|
|
|
|
SqlLexer.h
|
2026-10-22 17:52:37 +02:00
|
|
|
SqlContext.h
|
2026-10-17 16:21:22 +02:00
|
|
|
ScopeGuard.h
|
|
|
|
|
CsvWriter.h
|
|
|
|
|
BackupFormatModel.h
|
|
|
|
|
Expected.h
|
|
|
|
|
ExplainTreeModelItem.h
|
|
|
|
|
json/json.h
|
|
|
|
|
std_utils.h
|
|
|
|
|
IntegerRange.h
|
2017-08-27 13:25:16 +02:00
|
|
|
)
|
|
|
|
|
|
2026-10-17 16:21:22 +02:00
|
|
|
target_link_libraries(core PUBLIC
|
|
|
|
|
Qt6::Core
|
2017-08-27 13:25:16 +02:00
|
|
|
)
|
2017-08-27 17:38:52 +02:00
|
|
|
|
2026-10-17 16:21:22 +02:00
|
|
|
target_include_directories(core PUBLIC
|
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
2017-08-27 17:38:52 +02:00
|
|
|
)
|
|
|
|
|
|
2026-10-17 16:21:22 +02:00
|
|
|
set_target_properties(core PROPERTIES
|
|
|
|
|
CXX_STANDARD 20
|
|
|
|
|
CXX_STANDARD_REQUIRED ON
|
|
|
|
|
POSITION_INDEPENDENT_CODE ON
|
|
|
|
|
)
|