I use the generator "Visual Studio 9 2008 Win64" to set up a driver
project.
For linking I need to set the linker flag /Driver which is incompatible
with the flags
*/DYNAMICBASE, **/DYNAMICBASE:NO /**NXCOMPAT:NO and **/NXCOMPAT. *
In the cmake generator vcproj file a combination of these flags are set
and cannot be unset.
To get it to link you have to manually set
Linker->Advanced->Randomized Base Address to Default and
Linker->Advanced->Data Execution Prevention to Default.
Or you have to edit the vcproj file and set
RandomizedBaseAddress="0"
DataExecutionPrevention="0"

Is there a way to achive this with the cmake system?
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to