Advertisement
Guest User

Untitled

a guest
Oct 29th, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.30 KB | None | 0 0
  1. cmake_minimum_required( VERSION 2.8 )
  2.  
  3. project (main.exe)
  4. file(GLOB source ${PROJECT_SOURCE_DIR}/src/*.cpp)
  5. include_directories(${PROJECT_SOURCE_DIR}/include)
  6.  
  7. add_executable(main.exe main.cpp ${source})
  8.  
  9. add_compile_options(-g -Wall -pedantic -D MAPCALC)
  10.  
  11. set(CMAKE_PROJECT_NAME ${PROJECT_NAME})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement