Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
8cca80f7
Commit
8cca80f7
authored
Mar 07, 2013
by
Julien Malik
Browse files
COMP: fix include dirs for tests
parent
573d269a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Testing/Application/CMakeLists.txt
View file @
8cca80f7
SET
(
BASELINE
${
OTB_DATA_ROOT
}
/Baseline/OTB/Images
)
set
(
BASELINE
${
OTB_DATA_ROOT
}
/Baseline/OTB/Images
)
SET
(
BASELINE_FILES
${
OTB_DATA_ROOT
}
/Baseline/OTB/Files
)
set
(
BASELINE_FILES
${
OTB_DATA_ROOT
}
/Baseline/OTB/Files
)
SET
(
INPUTDATA
${
OTB_DATA_ROOT
}
/Input
)
set
(
INPUTDATA
${
OTB_DATA_ROOT
}
/Input
)
SET
(
TEMP
${
Monteverdi_BINARY_DIR
}
/Testing/Temporary
)
set
(
TEMP
${
Monteverdi_BINARY_DIR
}
/Testing/Temporary
)
# Large Input
# Large Input
IF
(
OTB_DATA_USE_LARGEINPUT
)
if
(
OTB_DATA_USE_LARGEINPUT
)
SET
(
LARGEINPUT
${
OTB_DATA_LARGEINPUT_ROOT
}
)
set
(
LARGEINPUT
${
OTB_DATA_LARGEINPUT_ROOT
}
)
ENDIF
(
OTB_DATA_USE_LARGEINPUT
)
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 ---------------------------------
#-------------- Monteverdi Application Tests ---------------------------------
ADD_TEST
(
apTvMonteverdi2Application
${
Application_TESTS
}
otbMonteverdi2ApplicationTest
)
add_test
(
apTvMonteverdi2Application
${
Application_TESTS
}
otbMonteverdi2ApplicationTest
)
SET
(
Application_SRCS
set
(
Application_SRCS
otbMonteverdi2ApplicationTest.cxx
otbMonteverdi2ApplicationTest.cxx
)
)
ADD_EXECUTABLE
(
otbApplicationTests otbApplicationTests.cxx
${
Application_SRCS
}
)
add_executable
(
otbApplicationTests otbApplicationTests.cxx
${
Application_SRCS
}
)
TARGET_LINK_LIBRARIES
(
otbApplicationTests Monteverdi2_Application OTBTesting
)
target_link_libraries
(
otbApplicationTests Monteverdi2_Application OTBTesting
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment