changed executable name to match project name

This commit is contained in:
Kjistóf 2016-12-09 19:46:05 +01:00
parent dd69553e62
commit f76c1c7ebc

View File

@ -3,7 +3,7 @@
# instead of the cool unit tests in test.cpp
cmake_minimum_required(VERSION 3.6)
project(cpp11NHF1_refcountedString)
project(refcountedString)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wno-unused-comparison")
@ -22,8 +22,8 @@ if(GTEST_FOUND)
include_directories(${GTEST_INCLUDE_DIRS})
link_libraries(${GTEST_BOTH_LIBRARIES})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
add_executable(cpp11NHF1_refcountedString ${UNIT_SOURCE_FILES})
add_executable(refcountedString ${UNIT_SOURCE_FILES})
else(GTEST_FOUND)
add_executable(cpp11NHF1_refcountedString ${MANUAL_SOURCE_FILES})
add_executable(refcountedString ${MANUAL_SOURCE_FILES})
endif(GTEST_FOUND)