That was it, thanks Nils!
For future reference, after adding the test like Nils suggested, calling
"ctest" wouldn't work as it now needs your configuration:
ctest -C Debug
On Fri, Jan 5, 2018 at 11:16 AM Nils Gladitz wrote:
> On 05.01.2018 17:11, Saad Khattak wrote:
>
> Hi,
>
> Suppose I have
On 05.01.2018 17:11, Saad Khattak wrote:
Hi,
Suppose I have something like this:
add_executable(MyTest main.cpp)
set_target_properties(MyTest
PROPERTIES
DEBUG_POSTFIX _d
RELEASE_POSTFIX _r
)
add_test(RunTests MyTest) # where MyTest is the
I expect CMake to recognize that "MyTest" has
Hi,
Suppose I have something like this:
add_executable(MyTest main.cpp)
set_target_properties(MyTest
PROPERTIES
DEBUG_POSTFIX _d
RELEASE_POSTFIX _r
)
add_test(RunTests MyTest) # where MyTest is the
I expect CMake to recognize that "MyTest" has executables that are named
"MyTest_d" and "