Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.6)
  2. project(testing)
  3.  
  4. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++17 -rdynamic -Wall -Wextra -Wshadow -Wnull-dereference -Wunused-parameter -Wno-psabi -pthread -g -O0 -fprofile-arcs -ftest-coverage -D THREADS_STD")
  5.  
  6. add_subdirectory(deps/coollib)
  7.  
  8. include_directories(include)
  9. link_directories("deps/coollib/deps" "deps/coollib")
  10.  
  11.  
  12. add_executable(testing
  13. src/main.cpp)
  14.  
  15. target_link_libraries(testing coollib)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement