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.

29 lines
485 B

cmake_minimum_required (VERSION 2.6)
project(graph)
set(CMAKE_CXX_COMPILER "/usr/lib/colorgcc/bin/g++")
# set(CMAKE_CXX_COMPILER "/usr/bin/clang")
set (CXX_FLAGS "-Wall -Wextra -pedantic -Weffc++ -Wshadow -ggdb -std=c++0x")
add_definitions( ${CXX_FLAGS} )
find_package(CxxTest)
if(CXXTEST_FOUND)
include_directories(${CXXTEST_INCLUDE_DIR}
../lib)
enable_testing()
CXXTEST_ADD_TEST(
test_graph
generated_main.cpp
test_graph.hpp
)
endif()