From 676586f2034ff112b309dccc430893d73e919191 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 22 Sep 2026 18:06:51 +0200 Subject: apps: extract applications --- CMakeLists.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 138a84a..337086f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,9 +81,6 @@ target_sources("ttwhy-core" PUBLIC "ttwhy/scanners/terminal_scanner.cppm" ) -target_include_directories("ttwhy-core" PUBLIC - "${CMAKE_SOURCE_DIR}" -) target_compile_features("ttwhy-core" PUBLIC "cxx_std_23" @@ -101,16 +98,16 @@ target_compile_options("ttwhy-core" PUBLIC "$<$:-pedantic-errors>" ) -### Main Executable +### Applications -add_executable("ttwhy") -add_executable("ttwhy::app" ALIAS "ttwhy") +add_executable("ttwhy-echo") +add_executable("ttwhy::echo" ALIAS "ttwhy-echo") -target_sources("ttwhy" PRIVATE - "ttwhy/main.cpp" +target_sources("ttwhy-echo" PRIVATE + "apps/echo.cpp" ) -target_link_libraries("ttwhy" PRIVATE +target_link_libraries("ttwhy-echo" PRIVATE "ttwhy::lib" ) -- cgit v1.2.3