Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
- project(test)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- ## Create pet object file.
- add_library(pet Pet.cpp Pet.hpp)
- ## Create main object file.
- add_executable(main main.cpp BinaryTree.h)
- # Link pet and main.
- target_link_libraries(main pet find_solution)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement