[CMake] CTest problem with MinGW build of CTK

Dean Inglis dean.inglis at camris.ca
Fri Aug 27 13:41:23 EDT 2010


I'm working at getting CTK to build shared on Win32 Vista with mingw32-make.
When running ctest (CMake 2.8.2), it cant find the tests (which are in 
CTK-superbuild/CTK-build/bin)

Could not find executable D:/CTK-superbuild/CTK-build/bin/Release/some_test
Looked in the following places:

and looks instead in the following search pattern:

CTK-superbuild/CTK-build/bin/Release/some_test.exe
CTK-superbuild/CTK-build/bin/Release/Release/some_test.exe
CTK-superbuild/CTK-build/bin/Release/Debug/some_test.exe
CTK-superbuild/CTK-build/bin/Release/MinSizeRel/some_test.exe
CTK-superbuild/CTK-build/bin/Release/RelWithDebInfo/some_test.exe
CTK-superbuild/CTK-build/bin/Release/Deployment/some_test.exe
CTK-superbuild/CTK-build/bin/Release/Development/some_test.exe

then

Unable to find executable: D:/CTK-superbuild/CTK-build/bin/Release/some_test
46/46 Test #46: some_sub_test ..................***Not Run   0.00 sec

any ideas on why is this happening and how to fix?

Dean





More information about the CMake mailing list