Mercurial > hg > graal-jvmci-8
comparison make/windows/create.bat @ 12014:31f3b1e1c5e5
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
Summary: ProjectCreator tool is modified to support two new options: '-relativeAltSrcInclude' and '-altRelativeInclude' which prevents IDE linker errors. Also fixed some cmd line build linker warnings. Misc cleanups.
Reviewed-by: rdurbin, coleenp
author | dcubed |
---|---|
date | Thu, 08 Aug 2013 09:21:30 -0700 |
parents | 6b748c9e1845 |
children | 3cce976666d9 f462e61bce87 |
comparison
equal
deleted
inserted
replaced
12013:195ff07bc7f6 | 12014:31f3b1e1c5e5 |
---|---|
1 @echo off | 1 @echo off |
2 REM | 2 REM |
3 REM Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. | 3 REM Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 REM | 5 REM |
6 REM This code is free software; you can redistribute it and/or modify it | 6 REM This code is free software; you can redistribute it and/or modify it |
7 REM under the terms of the GNU General Public License version 2 only, as | 7 REM under the terms of the GNU General Public License version 2 only, as |
8 REM published by the Free Software Foundation. | 8 REM published by the Free Software Foundation. |
146 echo HotSpotJDKDist=%HotSpotJDKDist% | 146 echo HotSpotJDKDist=%HotSpotJDKDist% |
147 | 147 |
148 | 148 |
149 REM This is now safe to do. | 149 REM This is now safe to do. |
150 :copyfiles | 150 :copyfiles |
151 for /D %%i in (compiler1, compiler2, tiered, core) do ( | 151 for /D %%i in (compiler1, compiler2, tiered ) do ( |
152 if NOT EXIST %HotSpotBuildSpace%\%%i\generated mkdir %HotSpotBuildSpace%\%%i\generated | 152 if NOT EXIST %HotSpotBuildSpace%\%%i\generated mkdir %HotSpotBuildSpace%\%%i\generated |
153 copy %HotSpotWorkSpace%\make\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\generated > NUL | 153 copy %HotSpotWorkSpace%\make\windows\projectfiles\%%i\* %HotSpotBuildSpace%\%%i\generated > NUL |
154 ) | 154 ) |
155 | 155 |
156 REM force regneration of ProjectFile | 156 REM force regneration of ProjectFile |
157 if exist %ProjectFile% del %ProjectFile% | 157 if exist %ProjectFile% del %ProjectFile% |
158 | 158 |
159 for /D %%i in (compiler1, compiler2, tiered, core) do ( | 159 for /D %%i in (compiler1, compiler2, tiered ) do ( |
160 echo -- %%i -- | 160 echo -- %%i -- |
161 echo # Generated file! > %HotSpotBuildSpace%\%%i\local.make | 161 echo # Generated file! > %HotSpotBuildSpace%\%%i\local.make |
162 echo # Changing a variable below and then deleting %ProjectFile% will cause >> %HotSpotBuildSpace%\%%i\local.make | 162 echo # Changing a variable below and then deleting %ProjectFile% will cause >> %HotSpotBuildSpace%\%%i\local.make |
163 echo # %ProjectFile% to be regenerated with the new values. Changing the >> %HotSpotBuildSpace%\%%i\local.make | 163 echo # %ProjectFile% to be regenerated with the new values. Changing the >> %HotSpotBuildSpace%\%%i\local.make |
164 echo # version requires rerunning create.bat. >> %HotSpotBuildSpace%\%%i\local.make | 164 echo # version requires rerunning create.bat. >> %HotSpotBuildSpace%\%%i\local.make |