10 lines
280 B
CMake
10 lines
280 B
CMake
cmake_minimum_required(VERSION 3.22.1)
|
|
|
|
project(hydroforth)
|
|
|
|
file(GLOB_RECURSE SOURCES ${PROJECT_SOURCE_DIR}/src/*.c)
|
|
add_executable(hydroforth ${SOURCES})
|
|
|
|
target_include_directories(hydroforth PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(hydroforth -lreadline)
|