Add config and command executor
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -84,13 +84,21 @@ FetchContent_Declare(
|
||||
FetchContent_MakeAvailable(SQLiteCpp)
|
||||
|
||||
FetchContent_Declare(
|
||||
cpptrace
|
||||
GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
|
||||
GIT_TAG "v1.0.1"
|
||||
cpptrace
|
||||
GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
|
||||
GIT_TAG "v1.0.1"
|
||||
GIT_SHALLOW 1
|
||||
)
|
||||
FetchContent_MakeAvailable(cpptrace)
|
||||
|
||||
FetchContent_Declare(
|
||||
tomlplusplus
|
||||
GIT_REPOSITORY https://github.com/marzer/tomlplusplus
|
||||
GIT_TAG "v3.4.0"
|
||||
GIT_SHALLOW 1
|
||||
)
|
||||
FetchContent_MakeAvailable(tomlplusplus)
|
||||
|
||||
add_subdirectory(vendor)
|
||||
|
||||
find_program(WAYLAND_SCANNER wayland-scanner REQUIRED)
|
||||
@@ -189,6 +197,7 @@ add_custom_target(generate_protocols ALL
|
||||
add_executable(waylight
|
||||
${GEN_C_PRIVATES}
|
||||
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Config.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/IconRegistry.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/Cache.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/InotifyWatcher.cpp
|
||||
@@ -215,6 +224,7 @@ target_link_libraries(waylight PRIVATE
|
||||
PkgConfig::FONTCONFIG
|
||||
PkgConfig::HARFBUZZ
|
||||
|
||||
tomlplusplus::tomlplusplus
|
||||
cpptrace::cpptrace
|
||||
tinyfiledialogs
|
||||
mINI
|
||||
|
||||
Reference in New Issue
Block a user