I think I found the problem.

My client script wrote a new CMakeCache.txt (with initial settings) on every run and therefor also overwrote it in continuous builds if it already existed. In prior CMake versions this seemed to have worked but I'm guessing now some piece of information is made persistent outside of CMakeCache.txt which prevents CMAKE_OBJCOPY and CMAKE_LINKER from being set again.

I can easily work around it by not writing a new cache if one is already available or appending rather than overwriting.

Nils

On 03/21/2013 10:41 AM, Nils Gladitz wrote:
I am trying out CMake 2.8.11rc1 on windows and linux continuous build clients.

During clean full rebuilds everything seems to work fine.
During incremental "Continuous" builds with reused build directories however CMAKE_OBJCOPY (on linux gcc; used by me manually) and CMAKE_LINKER (on windows MSVC; used by the static link step) sometimes seem to go missing (the variables are suddenly empty?).

I haven't been able to reliably reproduce or find the issue behind it but at least the CMAKE_OBJCOPY problem seems to have gone away by me manually including CMakeFindBinUtils in the context where I used it.

When CMAKE_LINKER goes empty I get Dashboard (CDash) errors like this:
Command: "/lib" "/nologo" [...] <- notice the missing linker executable name at the beginning Exit Condition: Error administrating child process: The parameter is incorrect

Nils
--
Nils Gladitz, B.Sc.
DICOM, Konnektivität und Entwicklung

Scivis wissenschaftliche Bildverarbeitung GmbH
Bertha-von-Suttner-Str. 5
D-37085 Göttingen
GERMANY
Handelsregister Nr. / Trade Register No. B3100 Göttingen
Geschäftsführer / Managing Directors Dr. Gernot Ebel, Dr. Uwe Engeland

Tel: 0049 (0)551 634181-28
E-Mail:[email protected]
Web:www.scivis.de


--
Nils Gladitz, B.Sc.
DICOM, Konnektivität und Entwicklung

Scivis wissenschaftliche Bildverarbeitung GmbH
Bertha-von-Suttner-Str. 5
D-37085 Göttingen
GERMANY
Handelsregister Nr. / Trade Register No. B3100 Göttingen
Geschäftsführer / Managing Directors Dr. Gernot Ebel, Dr. Uwe Engeland

Tel: 0049 (0)551 634181-28
E-Mail: [email protected]
Web: www.scivis.de

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to