Updated CmakeLists.txt for test

This commit is contained in:
yhirose 2020-01-26 22:36:34 -05:00
parent 3b968d2595
commit 35d2d201e1

View File

@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 3.1)
include_directories(..) project(test)
add_compile_options(${cxx11_options} ${warning_options})
enable_language(CXX)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS OFF)
include_directories(..)
add_executable(test-main test.cc) add_executable(test-main test.cc)
target_link_libraries(test-main ${add_link_deps}) target_link_libraries(test-main ${add_link_deps})