[CMake] Complete Rebuild Bug

2012-07-10 Thread owen.arnold
Hi,

Our windows builds are affected by this bug.

http://connect.microsoft.com/VisualStudio/feedback/details/649139/vs2010-does-complete-rebuild-based-on-completely-unrelated-file
 

Which means that there is a lot of unnecessary building going on. Since 
disabling the anti-virus is not an option, the solutions all seem to involve 
modifying the *.vcxproj files, adding something like this:





What's the best way for us to achieve this result using CMake? Is it even 
possible to make project file modifications using CMake?

Thanks in advance,
Owen.


-- 
Scanned by iCritical.
--

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


[CMake] CPACK NSIS Destination Directory

2011-07-01 Thread owen.arnold
Hi,

I've been using CPack to generate NSIS installers. On my Windows 7 64-bit 
development platform this works perfectly. When I started building the release 
and generating the packages on our build server (also Windows 7 64-bit) things 
aren't quite as smooth. The installer is generated fine, but the installer page 
containing the "Destination Directory" fails to prefix the path with C:/Program 
Files (x86), so instead of C:/Program Files(x86)/{{Project}} I'm presented with 
/{{Project}}. Comparing the generated Project.nsi files between my development 
environment and the production build environment, I notice that PROGRAMFILES 
var is not used at all in the latter, but is in the former to construct 
INSTALLDIR.

The only difference between my development environment and the production build 
environment (as far as I can tell) is that my development is done on a physical 
machine and the production machine is a VM. Might this have something to do 
with PROGRAMFILES not being written into the nsis script? Does anyone have any 
other suggestions about what might be causing this?

Thanks in advance,

Owen.

-- 
Scanned by iCritical.

___
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