I worked with Stephen today on this and it needs to put all the dll's in
the same place as the main executable.
The following makes the test pass on my windows box:
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt
b/Tests/Module/GenerateExportH
index 6374087..0f5d792 100644
--- a/Tests/Module/GenerateExportHeader/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt
@@ -40,6 +40,8 @@ macro(_do_build Include Library LibrarySource Source)
"set(CMAKE_INCLUDE_CURRENT_DIR ON)\n"
+ "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
\"${GenerateExportHeader_BINARY_DIR}\")\n"
+
"include(GenerateExportHeader)\n"
"add_compiler_export_flags()\n"
Can you or Brad push this to the branch?
-Bill
On 8/10/2011 1:58 PM, David Cole wrote:
Stephen,
The test you recently added is failing on many platforms on the CMake
dashboard today. Are you working on resolving these test failures?
This output:
*** Exception executing: Exit code 0xc0000135
means that one of the dlls could not be loaded properly by the built
executable. Are you putting the dlls in the same directory with the executables
by setting CMAKE_RUNTIME_OUTPUT_DIR ... ?
Do you have a Windows machine with Visual Studio on it for local testing?
Thanks,
David
On Tue, Aug 2, 2011 at 9:38 AM, Brad King <brad.k...@kitware.com
<mailto:brad.k...@kitware.com>> wrote:
On 8/2/2011 3:40 AM, Stephen Kelly wrote:
Brad King wrote:
I've now also tested with MSVC and MinGW on Windows. I couldn't
seem to get
cmake to work on cygwin though.
I'll see if I can test on Mac too before pushing to the cmake repo.
One question I have is: Will the unit tests for this be run on
all platforms
before it gets to master?
Yes. You will create a topic branch starting from 'master' but it will
initially be merged into 'next' for testing. If there are failures you
will be able to extend the topic with corresponding fixes. Only after
the whole topic is mature will upstream developers merge it to 'master'.
Thanks,
-Brad
_________________________________________________
cmake-developers mailing list
cmake-developers@cmake.org <mailto:cmake-developers@cmake.org>
http://public.kitware.com/cgi-__bin/mailman/listinfo/cmake-__developers
<http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers>
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers