[CMake] ctest cannot find a dll from current project
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Aug 20 16:09:15 EDT 2008
On Wednesday 20 August 2008, Alexandre Gramfort wrote:
> Hi,
>
> I'm porting a CMake C++ project to windows XP Visual Studio Express
> 2005 with CMake 2.6 and I get a problem when testing the build.
>
> My executables depend on a DLL from the current CMake Project.
>
> Executables are in folder A/debug or A/release and the DLL is in
> folder B/debug or B/release.
You could set EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH so that they are
created in the same directory, then the dll's will be found when the
executables are started.
Alex
More information about the CMake
mailing list