mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
772 B
32 lines
772 B
require("premake-qt/qt") |
|
local qt = premake.extensions.qt |
|
|
|
project "CppSharp.ASTViewer" |
|
SetupNativeProject() |
|
kind "ConsoleApp" |
|
systemversion("latest") |
|
cppdialect "C++17" |
|
|
|
qt.enable() |
|
|
|
filter { "system:linux" } |
|
buildoptions { "-fPIC" } |
|
links { "pthread" } |
|
qtincludepath "/usr/include/x86_64-linux-gnu/qt5" |
|
qtlibpath "/usr/lib/x86_64-linux-gnu" |
|
qtbinpath "/usr/lib/qt5/bin" |
|
|
|
filter { "system:windows" } |
|
qtpath "C:\\Qt\\5.12.0\\msvc2017" |
|
|
|
filter {} |
|
|
|
qtmodules { "core", "gui", "widgets" } |
|
qtprefix "Qt5" |
|
files { "**.h", "**.cpp", "**.ui", "**.qrc" } |
|
|
|
SetupLLVMIncludes() |
|
SetupLLVMLibs() |
|
|
|
filter { "toolset:msc*" } |
|
buildoptions { "/wd4141", "/wd4146", "/wd4996" }
|
|
|