diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 6 insertions, 9 deletions
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 "$<$<CXX_COMPILER_ID:Clang,GNU>:-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" ) |
