From 466094cc26cfd7315538c5940cc73f54ff98ee50 Mon Sep 17 00:00:00 2001 From: Achim Gsell <achim.gsell@psi.ch> Date: Mon, 16 Apr 2018 15:44:08 +0200 Subject: [PATCH] Master CMakeLists.txt - compile option 'template-depth' removed - break drown long lines --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04a598e20..60ce5178a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,11 +41,15 @@ set (CMAKE_CXX_STANDARD 11) set (CMAKE_CXX_STANDARD_REQUIRED ON) set (CMAKE_CXX_EXTENSIONS OFF) -add_compile_options (-Wall) add_definitions (-DIPPL_LINUX -DIPPL_STRINGSTREAM) -add_definitions (-DIPPL_MPI -DMPICH_SKIP_MPICXX -DIPPL_DONT_POOL -DIPPL_USE_XDIV_RNG -DPETE_BITWISE_COPY -DIPPL_HAS_TEMPLATED_COMPLEX -DIPPL_USE_PARTIAL_SPECIALIZATION -Drestrict=__restrict__ -DNOCTAssert) +add_definitions (-DIPPL_MPI -DMPICH_SKIP_MPICXX -DIPPL_DONT_POOL) +add_definitions (-DIPPL_USE_XDIV_RNG -DPETE_BITWISE_COPY) +add_definitions (-DIPPL_HAS_TEMPLATED_COMPLEX) +add_definitions (-DIPPL_USE_PARTIAL_SPECIALIZATION) +add_definitions ( -Drestrict=__restrict__ -DNOCTAssert) -add_compile_options (-ftemplate-depth=1024 -funroll-loops -fstrict-aliasing) +add_compile_options (-Wall) +add_compile_options (-funroll-loops -fstrict-aliasing) # compiler dependent flags message ("The underlying C++ compiler ID is: ${CMAKE_CXX_COMPILER_ID}") -- GitLab