@@ -3,9 +3,17 @@ cmake_minimum_required(VERSION 3.2) | |||
project(ScopeGuard VERSION 0.0.1) | |||
message(STATUS "~~~ ${PROJECT_NAME} v${PROJECT_VERSION} ~~~") | |||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") | |||
option(UNITTEST "Build Unit Tests" ON) | |||
if( CMAKE_BUILD_TYPE ) | |||
message(STATUS "Build Type : ${CMAKE_BUILD_TYPE}") | |||
else() | |||
message(STATUS "Build Type : None") | |||
endif() | |||
add_compile_options(-Wall | |||
-Wextra | |||
-pedantic |