You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
339 B
13 lines
339 B
cmake_minimum_required(VERSION 3.0) |
|
|
|
project(cpp-main) |
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wall -Wextra") |
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/lib/GraphLib/cmake_modules") |
|
|
|
find_package(MathGL REQUIRED) |
|
|
|
add_subdirectory("./lib/GraphLib") |
|
|
|
add_executable(cpp-main main.cpp ${MATHGL_LIBRARIES})
|
|
|