зеркало из https://github.com/mono/CppSharp.git
Updated build files to Premake 5 conventions.
This commit is contained in:
Родитель
cbafb55044
Коммит
a237dbf1e2
|
@ -33,7 +33,7 @@ install:
|
|||
script: |
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then PREMAKE=build/premake5-linux-64; else PREMAKE=build/premake5-osx; fi &&
|
||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then BUILD_CONF=release_x64; else BUILD_CONF=release_x32; fi &&
|
||||
$PREMAKE --file=build/premake4.lua gmake &&
|
||||
$PREMAKE --file=build/premake5.lua gmake &&
|
||||
config=$BUILD_CONF make -C build/gmake/ &&
|
||||
BUILD_DIR=`ls build/gmake/lib` &&
|
||||
mkdir -p "$PWD"/build/gmake/lib/lib/"$BUILD_DIR" &&
|
||||
|
|
|
@ -48,7 +48,7 @@ install:
|
|||
- build\premake5.exe --file=build\scripts\LLVM.lua download_llvm
|
||||
|
||||
build_script:
|
||||
- build\premake5.exe --file=build\premake4.lua %VS_VERSION%
|
||||
- build\premake5.exe --file=build\premake5.lua %VS_VERSION%
|
||||
- msbuild %BUILD_PATH%\CppSharp.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal
|
||||
|
||||
#---------------------------------#
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
|
||||
premake5 --file=premake4.lua gmake
|
||||
premake5 --file=premake5.lua gmake
|
||||
|
||||
pause
|
|
@ -20,23 +20,23 @@ if "%C%"=="1" goto vs2012
|
|||
if "%C%"=="0" goto clean
|
||||
|
||||
:clean
|
||||
"premake5" --file=premake4.lua clean
|
||||
"premake5" --file=premake5.lua clean
|
||||
goto quit
|
||||
|
||||
:vs2012
|
||||
"premake5" --file=premake4.lua vs2012
|
||||
"premake5" --file=premake5.lua vs2012
|
||||
goto quit
|
||||
|
||||
:vs2013
|
||||
"premake5" --file=premake4.lua vs2013
|
||||
"premake5" --file=premake5.lua vs2013
|
||||
goto quit
|
||||
|
||||
:vs2015
|
||||
"premake5" --file=premake4.lua vs2015
|
||||
"premake5" --file=premake5.lua vs2015
|
||||
goto quit
|
||||
|
||||
:gmake
|
||||
"premake5" --file=premake4.lua gmake
|
||||
"premake5" --file=premake5.lua gmake
|
||||
goto quit
|
||||
|
||||
:quit
|
||||
|
|
|
@ -50,8 +50,8 @@ solution "CppSharp"
|
|||
|
||||
group "Libraries"
|
||||
include (srcdir .. "/Core")
|
||||
include (srcdir .. "/AST/AST.lua")
|
||||
include (srcdir .. "/Generator/Generator.lua")
|
||||
include (srcdir .. "/Generator.Tests/Generator.Tests.lua")
|
||||
include (srcdir .. "/Runtime/Runtime.lua")
|
||||
include (srcdir .. "/AST")
|
||||
include (srcdir .. "/Generator")
|
||||
include (srcdir .. "/Generator.Tests")
|
||||
include (srcdir .. "/Runtime")
|
||||
include (srcdir .. "/CppParser")
|
|
@ -1,3 +1,5 @@
|
|||
include("../../build/Parser.lua")
|
||||
|
||||
project "CppSharp"
|
||||
|
||||
kind "SharedLib"
|
||||
|
|
Загрузка…
Ссылка в новой задаче