Commit eef6456d authored by nanahira's avatar nanahira

support OCGCORE_DYNAMIC

parent 9efa33ab
project "ocgcore"
kind "StaticLib"
if OCGCORE_DYNAMIC then
kind "SharedLib"
links { "lua" }
else
kind "StaticLib"
end
files { "*.cpp", "*.h" }
......@@ -20,3 +25,7 @@ project "ocgcore"
filter "system:linux"
defines { "LUA_USE_LINUX" }
if OCGCORE_DYNAMIC then
pic "On"
linkoptions { "-static-libstdc++", "-static-libgcc" }
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment