Commit 33e7ef68 authored by Christoph Junghans's avatar Christoph Junghans

cmake: fix static build, clean up

parent c684d8e8
......@@ -2,19 +2,11 @@ cmake_minimum_required(VERSION 3.1)
project(exaalt)
# Cmake modules/macros are in a subdirectory to keep this file cleaner
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
#release comes with -O3 by default
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
########################################################################
# User input options #
########################################################################
option(BUILD_SHARED_LIBS "Build shared libs" ON)
######################################
# Include the following subdirectory #
######################################
......
Subproject commit fce633aa5f4de7b55801a55578c907579d254bca
Subproject commit b861ea342e46374999de5695bd93f465dfd16f1a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment