if (DEFINED IRIS_IPP_LIB)
    link_directories(${IRIS_IPP_LIB})
endif (DEFINED IRIS_IPP_LIB)

if (DEFINED BASE_SOURCE_DIR)
  include_directories(
    ${BASE_SOURCE_DIR}/user_lib
    ${BASE_SOURCE_DIR}/config_lib)
endif (DEFINED BASE_SOURCE_DIR)

include_directories(
        ${CMAKE_CURRENT_SOURCE_DIR}/../include
        ${CMAKE_CURRENT_SOURCE_DIR}/../pcicards_lib
        ${CMAKE_CURRENT_SOURCE_DIR}/../rdasubs_lib
        ${CMAKE_CURRENT_SOURCE_DIR}/../softplane
        ${CMAKE_CURRENT_SOURCE_DIR}/../netcards_lib)

# One long list to get arround problem with static libs
link_libraries(
        rdasubs dsp softplane netcards pcicards antenna config
        himath user exthdr dl rt pthread m z ipps tirpc)

#link_libraries(config himath antenna user exthdr dl rt pthread m)

add_executable(rcp903_burnin rcp903_burnin.c)
add_executable(pstr1163_tool pstr1163_tool.c)
add_executable(bite_export bite_export.c)

#link_libraries(dsp softplane netcards pcicards rdasubs ipps tirpc)

add_executable(wsr98d_test wsr98d_test.c)
add_executable(wsr98d_amuxIO_monitor wsr98d_amuxIO_monitor.c)
add_executable(wsr98d_typetest wsr98d_typetest.c)
add_executable(rcp903_test rcp903_test.c)
add_executable(rdadiags rdadiags.c)
