Thanks Bill, effectively part of a project was setting a -D flag based on
the value of BUILD_TESTING. Refactored some code and everything is behaving
as expected now :)
Cheers
2009/3/23 Bill Hoffman
> Adolfo Rodríguez wrote:
>
>> I'm not setting any -D flags that depend on BUILD_TESTING. I only
Adolfo Rodríguez wrote:
I'm not setting any -D flags that depend on BUILD_TESTING. I only use
the variable to guard entering the subdirectories where tests are generated:
if(BUILD_TESTING)
add_subdirectory(test)
endif(BUILD_TESTING)
I am working in a project that adds a test subfolder to eac
I'm not setting any -D flags that depend on BUILD_TESTING. I only use the
variable to guard entering the subdirectories where tests are generated:
if(BUILD_TESTING)
add_subdirectory(test)
endif(BUILD_TESTING)
I am working in a project that adds a test subfolder to each folder where a
target is
Adolfo Rodríguez wrote:
Hi,
I have a project that uses CTest. I'm using the auto-generated
BUILD_TESTING variable to enable/disable the test-related parts of my
build tree. What strikes me as unusual is that when I build my project
with BUILD_TESTING set to ON (hence all test executables are
Hi,
I have a project that uses CTest. I'm using the auto-generated BUILD_TESTING
variable to enable/disable the test-related parts of my build tree. What
strikes me as unusual is that when I build my project with BUILD_TESTING
set to ON (hence all test executables are built), and then toggle
BUIL