mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 12:37:41 +03:00
22 lines
462 B
CMake
22 lines
462 B
CMake
set(CORE_SOURCES
|
|
palette/color.cpp
|
|
io/toml_file.cpp
|
|
config/config.cpp
|
|
utils.cpp
|
|
version.cpp
|
|
theme/theme_template.cpp
|
|
)
|
|
|
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|
|
|
add_library(clrsync_core SHARED ${CORE_SOURCES})
|
|
|
|
target_include_directories(clrsync_core PUBLIC
|
|
${CMAKE_SOURCE_DIR}/src
|
|
SYSTEM ${CMAKE_SOURCE_DIR}/lib
|
|
)
|
|
|
|
target_compile_definitions(clrsync_core PUBLIC
|
|
CLRSYNC_DATADIR=\"${CMAKE_INSTALL_FULL_DATADIR}/clrsync\"
|
|
)
|