Skip to content

Commit 0f956e0

Browse files
author
Matthew Emmett
committed
cmake: Cut some comments.
1 parent efba4be commit 0f956e0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,23 @@ list(APPEND CMAKE_MODULE_PATH ${pfasst_SOURCE_DIR}/cmake)
55
include(cmake/utility_functions.cmake)
66
include(CheckCXXCompilerFlag)
77
include(ExternalProject)
8-
# Set default ExternalProject root directory
98
set_directory_properties(PROPERTIES EP_PREFIX ${CMAKE_BINARY_DIR}/3rdparty)
109

1110
option(pfasst_DISABLE_LIBCXX "Disable use of LLVM's libc++ when compiling with Clang." ON )
1211
option(pfasst_BUILD_EXAMPLES "Build example programs." ON )
1312
option(pfasst_BUILD_TESTS "Build test suite for PFASST." ON )
1413
option(pfasst_WITH_MPI "Build with MPI enabled." OFF)
1514

16-
# output directories
1715
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${pfasst_SOURCE_DIR}/dist/bin")
1816
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${pfasst_SOURCE_DIR}/dist/lib")
1917
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${pfasst_SOURCE_DIR}/dist/lib")
2018

2119
if(${pfasst_WITH_MPI})
2220
find_package(MPI REQUIRED)
23-
# set(CMAKE_C_COMPILER ${MPI_C_COMPILER})
24-
# set(CMAKE_CXX_COMPILER ${MPI_CXX_COMPILER})
2521
message(STATUS "Using MPI C++ Compiler: ${MPI_CXX_COMPILER}")
2622
endif()
2723

28-
# check for C++11 support
24+
# Check for C++11 support
2925
if(${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
3026
check_cxx_compiler_flag(-std=c++11 HAVE_STD11)
3127
if(HAVE_STD11)
@@ -63,7 +59,6 @@ else()
6359
endif()
6460
message(STATUS "Your compiler has C++11 support. Hurray!")
6561

66-
# enable all compiler warnings
6762
add_to_string_list("${CMAKE_CXX_FLAGS}" CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic")
6863

6964
set(3rdparty_INCLUDES)
@@ -75,13 +70,8 @@ if(pfasst_BUILD_TESTS)
7570
enable_testing()
7671
endif(pfasst_BUILD_TESTS)
7772

78-
# adding / including 3rd-party libraries
7973
message(STATUS "********************************************************************************")
8074
message(STATUS "Configuring 3rd party libraries")
81-
# makes available:
82-
# - fftw3_INCLUDES (if pfasst_BUILD_EXAMPLES)
83-
# - fftw3_LIBS (if pfasst_BUILD_EXAMPLES)
84-
# and Boost headers in 3rdparty_INCLUDES
8575
add_subdirectory(3rdparty)
8676

8777
message(STATUS "********************************************************************************")

0 commit comments

Comments
 (0)