Thanks for the tip. I'll see how I can adapt this to my scenario.
Petr
On Tue, Oct 2, 2012 at 12:49 PM, David Cole david.c...@kitware.com wrote:
CMake has code like this using the TEST_INCLUDE_FILE directory property to
deal with this situation:
# In the main CMakeLists.txt:
# Set up
Anyone? Any suggestions would be appreciated.
Petr
On Mon, Sep 24, 2012 at 5:16 PM, Petr Kmoch petr.km...@gmail.com wrote:
Hi all,
I seem to have a problem when using add_test(... CONFIGURATIONS ...) and
running 'make test' on Linux. It's skipping the test.
The CMakeLists.txt contains:
CMake has code like this using the TEST_INCLUDE_FILE directory property to
deal with this situation:
# In the main CMakeLists.txt:
# Set up test-time configuration.
set_directory_properties(PROPERTIES
TEST_INCLUDE_FILE ${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake)
# In Tests/CMakeLists.txt:
Hi all,
I seem to have a problem when using add_test(... CONFIGURATIONS ...) and
running 'make test' on Linux. It's skipping the test.
The CMakeLists.txt contains:
#...
enable_testing()
add_test(NAME test1 CONFIGURATIONS db COMMAND ...)
#...
On Windows, I invoke CMake like this:
cmake