Skip to content

Commit

Permalink
Move source code to sub-directories
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Sul <[email protected]>
  • Loading branch information
mike-sul committed Jul 4, 2024
1 parent fb4a9a9 commit 4ded16b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ cmake_minimum_required (VERSION 3.5)
set(TARGET sotactl)
project(${TARGET})

set(SRC
daemon.cpp
cli.cpp
main.cpp
)
file(GLOB_RECURSE SRC "src/*.cpp")
set(INCS ${CMAKE_CURRENT_SOURCE_DIR}/include)

add_executable(${TARGET} ${SRC})
target_include_directories(${TARGET} PRIVATE ${INCS})
target_link_libraries(${TARGET} boost_program_options)

target_compile_definitions(${TARGET} PRIVATE BOOST_LOG_DYN_LINK)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4ded16b

Please sign in to comment.