[CMake] Running library tests under MSVC2010
Martin Sustrik
sustrik at 250bpm.com
Sat Oct 20 07:21:55 EDT 2012
On 19/10/12 11:14, Nils Gladitz wrote:
> I use ${CMAKE_BINARY_DIR} in my RUNTIME_OUTPUT_DIRECTORY and also in my
> explicit test paths in add_test.
>
> I function wrapped the add_executable and add_test calls to take care of
> it so the test definitions themselves are more compact and readable.
Ok. However, what I need seems to be the most basic use case: build a
library and run some tests.
Any way to do that without all the tweaks?
For example, on UNIX platforms everything works OK with no tweaks
whatsoever.
Martin
More information about the CMake
mailing list