Commit 8cca80f7 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: fix include dirs for tests

parent 573d269a
SET(BASELINE ${OTB_DATA_ROOT}/Baseline/OTB/Images)
SET(BASELINE_FILES ${OTB_DATA_ROOT}/Baseline/OTB/Files)
SET(INPUTDATA ${OTB_DATA_ROOT}/Input)
SET(TEMP ${Monteverdi_BINARY_DIR}/Testing/Temporary)
set(BASELINE ${OTB_DATA_ROOT}/Baseline/OTB/Images)
set(BASELINE_FILES ${OTB_DATA_ROOT}/Baseline/OTB/Files)
set(INPUTDATA ${OTB_DATA_ROOT}/Input)
set(TEMP ${Monteverdi_BINARY_DIR}/Testing/Temporary)
# Large Input
IF(OTB_DATA_USE_LARGEINPUT)
SET(LARGEINPUT ${OTB_DATA_LARGEINPUT_ROOT} )
ENDIF(OTB_DATA_USE_LARGEINPUT)
if(OTB_DATA_USE_LARGEINPUT)
set(LARGEINPUT ${OTB_DATA_LARGEINPUT_ROOT} )
endif(OTB_DATA_USE_LARGEINPUT)
SET(Application_TESTS ${CXX_TEST_PATH}/otbApplicationTests)
set(Application_TESTS ${CXX_TEST_PATH}/otbApplicationTests)
include_directories(
${Monteverdi2_BINARY_DIR}
${Monteverdi2_SOURCE_DIR}/Code/Common
${Monteverdi2_SOURCE_DIR}/Code/Application
${Monteverdi2_BINARY_DIR}/Code/Application
)
#-------------- Monteverdi Application Tests ---------------------------------
ADD_TEST(apTvMonteverdi2Application ${Application_TESTS} otbMonteverdi2ApplicationTest)
add_test(apTvMonteverdi2Application ${Application_TESTS} otbMonteverdi2ApplicationTest)
SET(Application_SRCS
set(Application_SRCS
otbMonteverdi2ApplicationTest.cxx
)
ADD_EXECUTABLE(otbApplicationTests otbApplicationTests.cxx ${Application_SRCS})
TARGET_LINK_LIBRARIES(otbApplicationTests Monteverdi2_Application OTBTesting)
add_executable(otbApplicationTests otbApplicationTests.cxx ${Application_SRCS})
target_link_libraries(otbApplicationTests Monteverdi2_Application OTBTesting)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment