Commit d5a7ebc3 authored by Chen Bill's avatar Chen Bill Committed by GitHub

add cidalect, cppdialect (#737)

parent 88a9a6ca
project "lua" project "lua"
kind "StaticLib" kind "StaticLib"
cdialect "C11"
cppdialect "C++14"
files { "src/*.c", "src/*.h", "src/*.hpp" } files { "src/*.c", "src/*.h", "src/*.hpp" }
removefiles { "src/lua.c", "src/luac.c" } removefiles { "src/lua.c", "src/luac.c" }
......
project "ocgcore" project "ocgcore"
kind "StaticLib" kind "StaticLib"
cdialect "C11"
cppdialect "C++14"
files { "*.cpp", "*.h" } files { "*.cpp", "*.h" }
links { LUA_LIB_NAME } links { LUA_LIB_NAME }
...@@ -12,7 +14,7 @@ project "ocgcore" ...@@ -12,7 +14,7 @@ project "ocgcore"
end end
filter "not action:vs*" filter "not action:vs*"
buildoptions { "-std=c++14" } buildoptions { }
filter "system:bsd" filter "system:bsd"
defines { "LUA_USE_POSIX" } defines { "LUA_USE_POSIX" }
......
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