diff options
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt deleted file mode 100644 index 017e8206..00000000 --- a/lib/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -# ---------------------------------------------------------------------------- -# CMakeLists.txt -# -# Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License -# See file LICENSE for more details -# ---------------------------------------------------------------------------- - -set(LIBRARY_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib) - -if(UNIT_TESTS) - # Initializing google test - # prevents overriding the parent project's compiler/linter settings on windows - set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) - set(BUILD_GTEST ON CACHE BOOL "" FORCE) - set(BUILD_GMOCK OFF CACHE BOOL "" FORCE) - - # Add googletest directly to our build. This defines - # the gtest and gtest_main targets. - add_subdirectory(${LIBRARY_DIRECTORY}/googletest) - - # The gtest/gtest_main targets carry header search path - # dependencies automatically when using CMake 2.8.11 or - # later. Otherwise we have to add them here ourselves. - if (CMAKE_VERSION VERSION_LESS 2.8.11) - include_directories(${gtest_SOURCE_DIR}/include) - endif() -endif() - -include_directories(${LIBRARY_DIRECTORY}/rapidjson/include) - -# setting up glfw -set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) -set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) -set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) -add_subdirectory(${LIBRARY_DIRECTORY}/glfw) - -add_subdirectory(${LIBRARY_DIRECTORY}/glad) |