GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — RenderFlow/CMakeLists.txt at main · CubbyFlow/RenderFlow Expand file tree/ Copy pathCMakeLists.txtMore file actions 69 lines (55 loc) · 2.01 KB / Copy pathCMakeLists.txtFile metadata and controls69 lines (55 loc) · 2.01 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 # CMake version cmake_minimum_required(VERSION 3.18.6 FATAL_ERROR) cmake_policy(SET CMP0063 NEW) # visibility set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) # Include cmake modules list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Builds/CMake") # Declare project project(RenderFlow) # Set output directories set(DEFAULT_CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib) # Set enable output of compile commands during generation set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "") # Find CubbyFlow package in local find_package(CubbyFlow REQUIRED) if (NOT CUBBYFLOW_FOUND) message(FATAL_ERROR "CubbyFlow is not found.") endif() # Includes include_directories(Includes) include_directories(Resources) include_directories(Libraries) include_directories(${CubbyFlow_INCLUDE_DIR}) # Compile options include(Builds/CMake/CompileOptions.cmake) # Build type - Release by default message("CMake build type: " ${CMAKE_BUILD_TYPE}) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) elseif(CMAKE_BUILD_TYPE MATCHES "Debug") add_definitions(-DDEBUG) endif() option(BUILD_COVERAGE "Build code coverage" OFF) if (CMAKE_BUILD_TYPE MATCHES Debug AND CMAKE_COMPILER_IS_GNUCXX AND BUILD_COVERAGE) include(CodeCoverage) setup_target_for_coverage(${PROJECT_NAME}_coverage UnitTests coverage) endif() # Some project don't build - SonarCloud only option(BUILD_SONARCLOUD "Build for SonarCloud" OFF) # Overrides set(CMAKE_MACOSX_RPATH ON) # Set resource directory set(RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Resources/") # Common dependencies find_package(cxxopts CONFIG REQUIRED) find_package(glad CONFIG REQUIRED) find_package(glfw3 CONFIG REQUIRED) find_package(glm CONFIG REQUIRED) # Project modules add_subdirectory(Sources) add_subdirectory(Extensions) add_subdirectory(Tests/UnitTests) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |