mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Updated CmakeLists.txt for test
This commit is contained in:
parent
3b968d2595
commit
35d2d201e1
@ -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})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user