ocssw
V2022
|
/gfs-oceanweb/web/ocssw/ocssw_src/src/l2mapgen/CMakeLists.txt File Reference
Functions | |
cmake_minimum_required (VERSION 3.12) set(LIBS l2 hdf5utils) find_package(GeoTIFF REQUIRED) include_directories($ | |
list (APPEND LIBS ${GeoTIFF_LIBRARIES}) find_package(PNG REQUIRED) include_directories($ | |
list (APPEND LIBS ${PNG_LIBRARIES}) if($ | |
MATCHES Darwin | find_package (X11 REQUIRED) include_directories($ |
list (APPEND LIBS ${X11_LIBRARIES}) endif($ | |
MATCHES Darwin | add_executable (l2mapgen main_l2mapgen.c l2mapgen_input.c mipolyutil.c) target_link_libraries(l2mapgen $ |
Function Documentation
◆ add_executable()
MATCHES Darwin add_executable | ( | l2mapgen main_l2mapgen.c l2mapgen_input.c mipolyutil. | c | ) |
Definition at line 19 of file CMakeLists.txt.
◆ cmake_minimum_required()
cmake_minimum_required | ( | VERSION 3. | 12 | ) |
Definition at line 1 of file CMakeLists.txt.
◆ find_package()
MATCHES Darwin find_package | ( | X11 | REQUIRED | ) |
Definition at line 14 of file CMakeLists.txt.
◆ list() [1/3]
list | ( | APPEND LIBS ${GeoTIFF_LIBRARIES} | ) |
Definition at line 7 of file CMakeLists.txt.
◆ list() [2/3]
list | ( | APPEND LIBS ${PNG_LIBRARIES} | ) |
Definition at line 11 of file CMakeLists.txt.
◆ list() [3/3]
list | ( | APPEND LIBS ${X11_LIBRARIES} | ) |
Definition at line 16 of file CMakeLists.txt.