Browse Source

Remove whitespaces

Remove whitespaces
pull/1525/head
josetr 5 years ago
parent
commit
65eaa3fe44
  1. 10
      build/Helpers.lua
  2. 14
      src/CppParser/Bindings/CLI/premake5.lua
  3. 8
      src/CppParser/premake5.lua
  4. 2
      tests/NamespacesDerived/premake4.lua
  5. 2
      tests/VTables/premake4.lua

10
build/Helpers.lua

@ -134,13 +134,13 @@ function SetupNativeProject() @@ -134,13 +134,13 @@ function SetupNativeProject()
filter { "configurations:Debug" }
defines { "DEBUG" }
filter { "configurations:Release" }
defines { "NDEBUG" }
optimize "On"
-- Compiler-specific options
filter { "toolset:msc*" }
buildoptions { msvc_buildflags }
defines { msvc_cpp_defines }
@ -205,7 +205,7 @@ function IncludeDir(dir) @@ -205,7 +205,7 @@ function IncludeDir(dir)
if os.isfile(fp) then
include(dep)
return
end
end
fp = path.join(dep, "premake4.lua")
fp = path.join(os.getcwd(), fp)
@ -300,4 +300,4 @@ function AddPlatformSpecificFiles(folder, filename) @@ -300,4 +300,4 @@ function AddPlatformSpecificFiles(folder, filename)
else
print "Unknown architecture"
end
end
end

14
src/CppParser/Bindings/CLI/premake5.lua

@ -1,38 +1,38 @@ @@ -1,38 +1,38 @@
include "../../../../build/LLVM.lua"
project "CppSharp.Parser.CLI"
kind "SharedLib"
language "C++"
SetupNativeProject()
SetupLLVMIncludes()
dependson { "CppSharp.CppParser" }
flags { common_flags }
clr "On"
filter "toolset:msc*"
buildoptions { clang_msvc_flags }
buildoptions { clang_msvc_flags }
filter {}
files
{
"**.h",
"**.cpp",
"**.lua"
}
includedirs
{
"../../../../include/",
"../../../../src/CppParser/"
}
filter {}
links { "CppSharp.CppParser" }
function SetupParser()
links { "CppSharp.Parser.CLI" }
end
end

8
src/CppParser/premake5.lua

@ -9,13 +9,13 @@ clang_msvc_flags = @@ -9,13 +9,13 @@ clang_msvc_flags =
if EnableNativeProjects() then
project "CppSharp.CppParser"
kind "SharedLib"
language "C++"
SetupNativeProject()
rtti "Off"
defines { "DLL_EXPORT" }
if os.istarget("linux") then
linkgroups "On"
end
@ -26,7 +26,7 @@ project "CppSharp.CppParser" @@ -26,7 +26,7 @@ project "CppSharp.CppParser"
linkoptions { "/ignore:4099" } -- LNK4099: linking object as if no debug info
filter {}
files
{
"*.h",
@ -38,7 +38,7 @@ project "CppSharp.CppParser" @@ -38,7 +38,7 @@ project "CppSharp.CppParser"
SetupLLVMIncludes()
SetupLLVMLibs()
CopyClangIncludes()
filter {}
project "Std-symbols"

2
tests/NamespacesDerived/premake4.lua

@ -2,6 +2,6 @@ group "Tests/Namespaces" @@ -2,6 +2,6 @@ group "Tests/Namespaces"
SetupTestGeneratorProject("NamespacesDerived")
SetupTestNativeProject("NamespacesDerived", "NamespacesBase")
SetupTestProjectsCSharp("NamespacesDerived", "NamespacesBase")
project("NamespacesDerived.Tests.CSharp")
links { "NamespacesBase.CSharp" }

2
tests/VTables/premake4.lua

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
group "Tests/VTables"
SetupTestCSharp("VTables")
if EnableNativeProjects() then
project("VTables.Native")

Loading…
Cancel
Save