
# FIND_PACKAGE(netCDF QUIET)

include_directories(${HDF5_INCLUDE_DIR}
        ${CMAKE_CURRENT_SOURCE_DIR}/../../wrdata_lib
        ${CMAKE_CURRENT_SOURCE_DIR}/../)

#link_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../lib ${IRIS_LIB})

link_libraries(
        sws wrdata rscan dsp misc himath user config
        antenna exthdr dl tirpc
        netcdf_c++4 netcdf boost_regex boost_date_time)

add_executable(cfrad_read cfrad_read.cpp
        cfr2file.cpp cfr2sweep.cpp
        cfr2file.hpp cfr2sweep.hpp cfr2field.hpp ptime_strings.hpp cfr1data.hpp cfr1data.cpp)

link_libraries(
        siglog boost_program_options boost_system boost_filesystem
        jasper m)

add_executable(cfrnc2iris cfrnc2iris.cpp
        cfr2file.cpp cfr2sweep.cpp
        cfr2file.hpp cfr2sweep.hpp cfr2field.hpp volume_desc.hpp volume_state.hpp ptime_strings.hpp cfr1data.hpp cfr1data.cpp)

