You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
533 B
CMake

1 month ago
project(SurfaceGridTest CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
endif()
file(GLOB_RECURSE SRCS "*.h" "*.cpp")
add_executable(SurfaceGridTest ${SRCS})
include_directories(
"${CMAKE_SOURCE_DIR}/**"
"${CMAKE_SOURCE_DIR}/lib"
"${3RD_ROOT_PATH}/catch"
)
link_directories(
"${CMAKE_SOURCE_DIR}/build/lib"
)
target_link_libraries(
SurfaceGridTest sg
)
install(TARGETS SurfaceGridTest DESTINATION "${CMAKE_SOURCE_DIR}/output")