Skip to content
Snippets Groups Projects
Select Git revision
  • ca128b841796bf9754ae5d0525f584ad7e767cee
  • master default protected
  • funsim
  • ct
  • develop
  • cleanup
  • cgd
  • rabbit_hole
8 results

CMakeLists.txt

Blame
  • user avatar
    Erik Strand authored
    d95dec41
    History
    CMakeLists.txt 530 B
    cmake_minimum_required(VERSION 3.13) # 3.13 is required for target_link_options
    project(CppStarter CXX)
    
    if (NOT CMAKE_BUILD_TYPE)
        set(CMAKE_BUILD_TYPE "Release")
    endif()
    message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
    message(STATUS "C++ compiler: ${CMAKE_CXX_COMPILER}")
    
    find_package (Eigen3 3.3 REQUIRED NO_MODULE)
    include(cmake/shared_settings.cmake)
    include(cmake/make_plot_target.cmake)
    
    add_subdirectory(external)
    add_subdirectory(optimization)
    add_subdirectory(test)
    add_subdirectory(apps)
    
    make_meta_plot_target()