15 lines
369 B
CMake
15 lines
369 B
CMake
cmake_minimum_required(VERSION 3.7)
|
|
|
|
project(ceevlang-test)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
find_library(CEEV NAMES ceev HINTS "/usr/local/include" REQUIRED)
|
|
include_directories(${CEEV_INCLUDE_DIRS})
|
|
|
|
add_executable(${PROJECT_NAME} src/test.cc src/test.h)
|
|
|
|
target_link_libraries(${PROJECT_NAME} ${CEEV_LIBRARIES})
|
|
|
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
|