Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • updateRef-gcc13
  • sim11_gaudiv40
  • gcorti_lcg_layers
  • RICH-GaussOptix-lhcb-sim11-dev-Run5-From-May06-2024
  • sim10_angantyr_setup
  • Sim10 protected
  • rquaglia_run5_workingbanch
  • witekp_g4hepem_adept_option
  • witekp_rich_matprop_fix
  • switch-to-hepmc3
  • photosFix
  • gcorti-master-patch-14639
  • pablo-cb-dev
  • gcorti_sim11_lcg_layer
  • revert-3d88a585
  • zekun_dev
  • witekp-use-gaudi-particle-property
  • yinx_smog2_with_underlying_particles
  • edelucia_MuWELL
  • febianch-visualization-optimization
  • v56r11 protected
  • v60r1 protected
  • v56r10p1 protected
  • v56r10 protected
  • v56r9 protected
  • v56r8 protected
  • v60r0 protected
  • v60r0-beta protected
  • v56r7 protected
  • v56r6 protected
  • v56r5-formatted protected
  • v56r5 protected
  • v49r25 protected
  • v56r4 protected
  • v56r4-rel-01 protected
  • v56r3 protected
  • v49r24 protected
  • v56r2 protected
  • v56r1 protected
  • v56r0 protected
41 results

build_docs.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Depend_cppunit.cmake 465 B
    
    option(TESTS "Compile and run unit tests" OFF)
    
    include(CheckFunctionExists)
    check_function_exists(getopt_long HAVE_GETOPT_LONG)
    
    if(TESTS)
    
        # CppUnit now requires a recent version of C++
        set(CMAKE_CXX_STANDARD 11)
    
        include(FindPkgConfig)
        pkg_check_modules(CPPUNIT cppunit REQUIRED)
    
        add_custom_target(test-verbose
            COMMAND ${CMAKE_CTEST_COMMAND} --verbose
            WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
    
        enable_testing()
    
    endif()