ocssw
V2022
|
/gfs-oceanweb/web/ocssw/ocssw_src/src/val_extract/CMakeLists.txt File Reference
Functions | |
cmake_minimum_required (VERSION 3.12) find_package(NetCDF REQUIRED) include_directories($ | |
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") add_definitions(-D_DEFAULT_SOURCE -D_BSD_SOURCE) set(LIBS $ | |
add_library (valextract val_extract.c) target_include_directories(valextract PUBLIC ".") target_link_libraries(valextract m genutils $ | |
install (TARGETS valextract DESTINATION lib) add_executable(val_extract val_extract-main.c) target_link_libraries(val_extract valextract $ | |
add_executable (sstval_extract sstval_extract-main.c) target_link_libraries(sstval_extract valextract $ | |
Function Documentation
◆ add_executable()
add_executable | ( | sstval_extract sstval_extract-main. | c | ) |
Definition at line 18 of file CMakeLists.txt.
◆ add_library()
add_library | ( | valextract val_extract. | c | ) |
Definition at line 10 of file CMakeLists.txt.
◆ cmake_minimum_required()
cmake_minimum_required | ( | VERSION 3. | 12 | ) |
Definition at line 1 of file CMakeLists.txt.
◆ install()
install | ( | TARGETS valextract DESTINATION | lib | ) |
Definition at line 13 of file CMakeLists.txt.
◆ set()
set | ( | ) |
Definition at line 6 of file CMakeLists.txt.