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.
 
 
 
 
 

18 lines
495 B

cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# Set the output folder where your program will be created
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
# The following folder will be included
include_directories("${PROJECT_SOURCE_DIR}")
add_executable(Tutorial src/tutorial.cpp)
#$ mkdir build && cd build
#$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../
#$ make
#$ make install