File: CMakeLists.txt

package info (click to toggle)
eckit 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 11,044 kB
  • sloc: cpp: 111,103; ansic: 2,826; yacc: 590; lex: 361; python: 302; sh: 162; makefile: 53
file content (11 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11

if( NOT ENABLE_WARNINGS )
  list( APPEND suppress_warnings
    $<$<CXX_COMPILER_ID:Cray>:-h nomessage=3140> # Disable optimisation warning in debug build due to use of intrinsics
  )
  set_source_files_properties( test_mutex.cc PROPERTIES COMPILE_OPTIONS "${suppress_warnings}" )
endif()

ecbuild_add_test( TARGET      eckit_test_thread_mutex
                  SOURCES     test_mutex.cc
                  LIBS        eckit )