Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.13) # CMake version check
- project(simple_example) # Create project "simple_example"
- set(CMAKE_CXX_STANDARD 14) # Enable c++14 standard
- # Add main.cpp file of project root directory as source file
- set(SOURCE_FILES main.cpp)
- # Add executable target with source files listed in SOURCE_FILES variable
- add_executable(simple_example ${SOURCE_FILES})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement