Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2016-05-26 14:20:52 +0300
committeronqtam <vik.kirilov@gmail.com>2016-09-21 15:46:06 +0300
commit4a65563c5b675b13edfc54d7236c71f0c721d736 (patch)
treeab5bcf6a4f0377fc9309eb1372f960061c93bfa4 /CMakeLists.txt
parenta7e7a3f28fea91d0cf709d2747ddc9e99e050108 (diff)
normalizing eof for everything
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt60
1 files changed, 30 insertions, 30 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a26ef84e..794e57a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,30 +1,30 @@
-cmake_minimum_required(VERSION 2.8)
-
-project(all)
-
-include(scripts/common.cmake)
-
-# when on Travis CI force 64 bit for gcc 4.4 under OSX because -m32 fails
-# saying that it cannot find 'std::exception' as a symbol (or others) for i386
-if(DEFINED ENV{TRAVIS} AND APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5)
- add_compiler_flags(-m64)
-endif()
-
-# setup coverage stuff only when COVERALLS_SERVICE_NAME is set (usually on travis CI)
-if(DEFINED ENV{COVERALLS_SERVICE_NAME})
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/scripts/coveralls-cmake/cmake)
- include(Coveralls)
- coveralls_turn_on_coverage()
-
- coveralls_setup("${CMAKE_SOURCE_DIR}/doctest/doctest.h" ON "${CMAKE_SOURCE_DIR}/scripts/coveralls-cmake/cmake")
-endif()
-
-include_directories("doctest/") # needed here so the coverage tools work - otherwise the "../../doctest" relative path fucks up
-
-file(GLOB subdir_list "${CMAKE_SOURCE_DIR}/examples/*")
-foreach(dir ${subdir_list})
- if(IS_DIRECTORY ${dir})
- get_filename_component(DIRNAME ${dir} NAME)
- add_subdirectory(examples/${DIRNAME})
- endif()
-endforeach()
+cmake_minimum_required(VERSION 2.8)
+
+project(all)
+
+include(scripts/common.cmake)
+
+# when on Travis CI force 64 bit for gcc 4.4 under OSX because -m32 fails
+# saying that it cannot find 'std::exception' as a symbol (or others) for i386
+if(DEFINED ENV{TRAVIS} AND APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5)
+ add_compiler_flags(-m64)
+endif()
+
+# setup coverage stuff only when COVERALLS_SERVICE_NAME is set (usually on travis CI)
+if(DEFINED ENV{COVERALLS_SERVICE_NAME})
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/scripts/coveralls-cmake/cmake)
+ include(Coveralls)
+ coveralls_turn_on_coverage()
+
+ coveralls_setup("${CMAKE_SOURCE_DIR}/doctest/doctest.h" ON "${CMAKE_SOURCE_DIR}/scripts/coveralls-cmake/cmake")
+endif()
+
+include_directories("doctest/") # needed here so the coverage tools work - otherwise the "../../doctest" relative path fucks up
+
+file(GLOB subdir_list "${CMAKE_SOURCE_DIR}/examples/*")
+foreach(dir ${subdir_list})
+ if(IS_DIRECTORY ${dir})
+ get_filename_component(DIRNAME ${dir} NAME)
+ add_subdirectory(examples/${DIRNAME})
+ endif()
+endforeach()