trying interactive
This commit is contained in:
@ -6,6 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Find required packages
|
||||
find_package(Boost REQUIRED COMPONENTS program_options filesystem system)
|
||||
find_package(Curses REQUIRED)
|
||||
|
||||
# Auto-detect source files
|
||||
file(GLOB_RECURSE SOURCES "src/*.cpp")
|
||||
@ -15,13 +16,17 @@ file(GLOB_RECURSE HEADERS "src/*.hpp")
|
||||
add_executable(dropshell ${SOURCES})
|
||||
|
||||
# Set include directories
|
||||
target_include_directories(dropshell PRIVATE src)
|
||||
target_include_directories(dropshell PRIVATE
|
||||
src
|
||||
${CURSES_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# Link libraries
|
||||
target_link_libraries(dropshell PRIVATE
|
||||
Boost::program_options
|
||||
Boost::filesystem
|
||||
Boost::system
|
||||
${CURSES_LIBRARIES}
|
||||
)
|
||||
|
||||
# Install targets
|
||||
|
Reference in New Issue
Block a user