<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
for one project I need to set special linker options in Visual
Studio.<br>
I tried this:<br>
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}
/BASE:0x61000000 /DYNAMICBASE:NO /FIXED")<br>
<br>
but the generated project now shows my options in the "Additional
options" section,<br>
and still shows the default settings like "/DYNAMICBASE" in the
advanced section.<br>
<br>
It compiles and links without error, but I don't think the result is
correct.<br>
Any ideas how these settings could be set from CMake?<br>
<br>
<div class="moz-signature">-- <br>
mit freundlichen Grüßen / best regards<br>
<br>
<b>Gerhard Gappmeier</b><br>
ascolab GmbH - automation systems communication laboratory<br>
Tel.: +49 9131 691 123<br>
Fax: +49 9131 691 128<br>
Web: <a class="moz-txt-link-freetext" href="http://www.ascolab.com">http://www.ascolab.com</a><br>
GPG-KeyId: 5AAC50C4<br>
GPG-Fingerprint: 967A 15F1 2788 164D CCA3 6C46 07CD 6F82 5AAC 50C4<br>
<p style="font-family: helvetica; font-size: 8pt;">
--<br>
<b>ascolab GmbH</b><br>
Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe
Steinkrauß<br>
Sitz der Gesellschaft: Am Weichselgarten 7 • 91058 Erlangen •
Germany<br>
Registernummer: HRB 9360<br>
Registergericht: Amtsgericht Fürth<br>
</p>
</div>
</body>
</html>