[CMake] Running library tests under MSVC2010

Martin Sustrik sustrik at 250bpm.com
Fri Oct 19 02:48:49 EDT 2012


Hi all,

I have a library project with some assocaited tests.

The library is build in myproject/src directory, while tests are built 
in myproject/tests directory.

Everything builds fine under MSVC2010, resulting DLL is stored in 
myproject/src/Debug.

However, if I try to run the test, it complains that the DLL cannot be 
found.

The dependency of test project on the library project seems to be set 
correctly.

Any ideas?
Martin


More information about the CMake mailing list