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)
Comments
0 B
|0 👍
/0 👎
0 B
|👍
/👎