Merge pull request #4 from LovelySanta/patch-2
Update premake script to allow building on Linux - part2: docking branchdocking
commit
5b0b18b099
@ -0,0 +1,8 @@
|
||||
# Directories
|
||||
.vs/
|
||||
bin/
|
||||
bin-int/
|
||||
|
||||
# Files
|
||||
*.user
|
||||
Makefile
|
@ -1,28 +1,39 @@
|
||||
project "ImGui"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
|
||||
files
|
||||
{
|
||||
"imconfig.h",
|
||||
"imgui.h",
|
||||
"imgui.cpp",
|
||||
"imgui_draw.cpp",
|
||||
"imgui_internal.h",
|
||||
"imgui_widgets.cpp",
|
||||
"imstb_rectpack.h",
|
||||
"imstb_textedit.h",
|
||||
"imstb_truetype.h",
|
||||
"imgui_demo.cpp"
|
||||
}
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
cppdialect "C++17"
|
||||
staticruntime "On"
|
||||
|
||||
filter { "system:windows", "configurations:Release" }
|
||||
buildoptions "/MT"
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
"imconfig.h",
|
||||
"imgui.h",
|
||||
"imgui.cpp",
|
||||
"imgui_draw.cpp",
|
||||
"imgui_internal.h",
|
||||
"imgui_widgets.cpp",
|
||||
"imstb_rectpack.h",
|
||||
"imstb_textedit.h",
|
||||
"imstb_truetype.h",
|
||||
"imgui_demo.cpp"
|
||||
}
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
cppdialect "C++17"
|
||||
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…
Reference in New Issue