Hello IGSTKers,<br><br>Got the same issue.<div><br></div><div>My solution is remove the following line from {igstk 5.0 root}/CMakeLists.txt</div><div>${IGSTK_BINARY_DIR}/IGSTKBuildSettings.cmake</div><div><br></div><div><div>
I've also tried to add these lines to {igstk 5.0 root}/CMakeLists.txt</div><div><div># Save the compiler settings so another project can import them.</div><div>
INCLUDE(${CMAKE_ROOT}/Modules/CMakeExportBuildSettings.cmake)</div><div>CMAKE_EXPORT_BUILD_SETTINGS(${IGSTK_BINARY_DIR}/IGSTKBuildSettings.cmake)</div><div><br></div><div>then I got the following error message when configuring</div>
<div><p style="margin:0px"><span style="color:#ff0000">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeExportBuildSettings.cmake:17 (MESSAGE):</span></p>
<p style="margin:0px"><span style="color:#ff0000"> The functionality of this module has been dropped as of CMake 2.8. It was</span></p>
<p style="margin:0px"><span style="color:#ff0000"> deemed harmful (confusing users by changing their compiler). Please remove</span></p>
<p style="margin:0px"><span style="color:#ff0000"> calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and stop including this</span></p>
<p style="margin:0px"><span style="color:#ff0000"> module. If this project generates any files for use by external projects,</span></p>
<p style="margin:0px"><span style="color:#ff0000"> remove any use of the CMakeImportBuildSettings module from them.</span></p>
<p style="margin:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="margin:0px"><span style="color:#ff0000"> CMakeLists.txt:355 (INCLUDE)</span></p><p style="margin:0px"><br></p></div><br><div class="gmail_quote">On Thu, Jul 5, 2012 at 5:50 PM, Frederic Perez <span dir="ltr"><<a href="mailto:frederic.perez@alma3d.com" target="_blank">frederic.perez@alma3d.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello IGSTKers,<br><br>I've successfully built the "ALL_BUILD" project for Visual Studio 10 (both for debug and <br>release configurations) for IGSTK 5.0. When I try to build the "INSTALL" project, though,<br>
I get the CMake Error message:<br><br><span style="font-family:courier new,monospace">3> CMake Error at cmake_install.cmake:39 (FILE):</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">3> file INSTALL cannot find</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">3> "C:/users/bin/igstk/5.5/win32-vs10-release/IGSTKBuildSettings.cmake".</span><br><br>I haven't been able to locate that IGSTKBuildSettings.cmake. Do you have any hint on this?<br>
<br>Thanks in advance and best regards,<br><br>Frederic<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br></blockquote></div><br></div>
</div>