stc_rpncalc/CMakeLists.txt
Mirko Scholz be1033274a remove unused definitions
(the sanitizer does not work like this, it would need also linker flags)
2020-09-05 11:01:04 +02:00

19 lines
424 B
CMake

cmake_minimum_required(VERSION 3.1)
project(stc_rpncalc C CXX)
# 3rd party tools
find_package(Qt5 COMPONENTS Widgets Qml Quick REQUIRED)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (for tests debug make sense)")
# Compiler warnings
if(MSVC)
add_compile_options(/W4 /WX)
else()
add_compile_options(-Wall -Wextra -pedantic)
endif()
# Directory with source code
add_subdirectory(src)
add_subdirectory(qt_gui)