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.
22 lines
556 B
22 lines
556 B
#Set the project name
|
|
project(LorenzAttractor)
|
|
|
|
#Set the CMake version
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
#Use Conan
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
conan_basic_setup()
|
|
|
|
#Import all source files
|
|
file(GLOB src_files "src/*.c" "src/*.cpp" )
|
|
|
|
#Make a project, link in libraries from conan
|
|
ADD_EXECUTABLE(LorenzAttractor ${src_files})
|
|
TARGET_LINK_LIBRARIES(LorenzAttractor ${CONAN_LIBS})
|
|
|
|
#Set the C++ version
|
|
set (CMAKE_CXX_STANDARD 11)
|
|
|
|
#Set the project for VS to use.
|
|
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT "LorenzAttractor") |