Merge pull request #4 from LovelySanta/patch-2

Update premake script to allow building on Linux - part2: docking branch
docking
Yan Chernikov 6 years ago committed by GitHub
commit 5b0b18b099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
.gitignore vendored

@ -0,0 +1,8 @@
# Directories
.vs/
bin/
bin-int/
# Files
*.user
Makefile

@ -1,28 +1,39 @@
project "ImGui" project "ImGui"
kind "StaticLib" kind "StaticLib"
language "C++" language "C++"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files targetdir ("bin/" .. outputdir .. "/%{prj.name}")
{ objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
"imconfig.h",
"imgui.h", files
"imgui.cpp", {
"imgui_draw.cpp", "imconfig.h",
"imgui_internal.h", "imgui.h",
"imgui_widgets.cpp", "imgui.cpp",
"imstb_rectpack.h", "imgui_draw.cpp",
"imstb_textedit.h", "imgui_internal.h",
"imstb_truetype.h", "imgui_widgets.cpp",
"imgui_demo.cpp" "imstb_rectpack.h",
} "imstb_textedit.h",
"imstb_truetype.h",
filter "system:windows" "imgui_demo.cpp"
systemversion "latest" }
cppdialect "C++17"
staticruntime "On" filter "system:windows"
systemversion "latest"
filter { "system:windows", "configurations:Release" } cppdialect "C++17"
buildoptions "/MT" staticruntime "On"
filter "system:linux"
pic "On"
systemversion "latest"
cppdialect "C++17"
staticruntime "On"
filter "configurations:Debug"
runtime "Debug"
symbols "on"
filter "configurations:Release"
runtime "Release"
optimize "on"

Loading…
Cancel
Save