|
@@ -211,8 +211,7 @@ solution "crown"
|
|
|
"GL",
|
|
"GL",
|
|
|
"X11",
|
|
"X11",
|
|
|
"openal",
|
|
"openal",
|
|
|
- "luajit",
|
|
|
|
|
- "bgfxRelease"
|
|
|
|
|
|
|
+ "luajit"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
includedirs {
|
|
includedirs {
|
|
@@ -258,7 +257,12 @@ solution "crown"
|
|
|
"-O0"
|
|
"-O0"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- linkoptions {
|
|
|
|
|
|
|
+ links {
|
|
|
|
|
+ "bgfxDebug"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ linkoptions {
|
|
|
|
|
+ "-rdynamic",
|
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
|
" LowLevelClothCHECKED" ..
|
|
" LowLevelClothCHECKED" ..
|
|
|
" PhysX3CHECKED " ..
|
|
" PhysX3CHECKED " ..
|
|
@@ -282,8 +286,13 @@ solution "crown"
|
|
|
"-O2"
|
|
"-O2"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ links {
|
|
|
|
|
+ "bgfxDebug"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
linkoptions
|
|
linkoptions
|
|
|
- {
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ "-rdynamic",
|
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
|
" LowLevelClothPROFILE" ..
|
|
" LowLevelClothPROFILE" ..
|
|
|
" PhysX3PROFILE " ..
|
|
" PhysX3PROFILE " ..
|
|
@@ -307,7 +316,11 @@ solution "crown"
|
|
|
"-O2"
|
|
"-O2"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- linkoptions {
|
|
|
|
|
|
|
+ links {
|
|
|
|
|
+ "bgfxRelease"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ linkoptions {
|
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
"-Wl,--start-group $(addprefix -l," ..
|
|
|
" LowLevelCloth" ..
|
|
" LowLevelCloth" ..
|
|
|
" PhysX3 " ..
|
|
" PhysX3 " ..
|
|
@@ -342,7 +355,6 @@ solution "crown"
|
|
|
postbuildcommands {
|
|
postbuildcommands {
|
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/luajit " .. CROWN_INSTALL_DIR .. "bin/linux32/",
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/luajit " .. CROWN_INSTALL_DIR .. "bin/linux32/",
|
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/jit " .. CROWN_INSTALL_DIR .. "bin/linux32/" .. " -r",
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/jit " .. CROWN_INSTALL_DIR .. "bin/linux32/" .. " -r",
|
|
|
- "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux32_gcc/bin/shadercRelease " .. CROWN_INSTALL_DIR .. "bin/linux32/shaderc",
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
configuration { "linux-*", "x64" }
|
|
configuration { "linux-*", "x64" }
|
|
@@ -357,7 +369,26 @@ solution "crown"
|
|
|
postbuildcommands {
|
|
postbuildcommands {
|
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/luajit " .. CROWN_INSTALL_DIR .. "bin/linux64/",
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/luajit " .. CROWN_INSTALL_DIR .. "bin/linux64/",
|
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/jit " .. CROWN_INSTALL_DIR .. "bin/linux64/" .. " -r",
|
|
"cp " .. CROWN_THIRD_DIR .. "luajit/src/jit " .. CROWN_INSTALL_DIR .. "bin/linux64/" .. " -r",
|
|
|
- "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux64_gcc/bin/shadercRelease " .. CROWN_INSTALL_DIR .. "bin/linux64/shaderc",
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ configuration { "debug or development", "x32", "linux-*" }
|
|
|
|
|
+ postbuildcommands {
|
|
|
|
|
+ "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux32_gcc/bin/shadercDebug " .. CROWN_INSTALL_DIR .. "bin/linux32/shaderc"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ configuration { "release", "x32", "linux-*" }
|
|
|
|
|
+ postbuildcommands {
|
|
|
|
|
+ "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux32_gcc/bin/shadercRelease " .. CROWN_INSTALL_DIR .. "bin/linux32/shaderc"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ configuration { "debug or development", "x64", "linux-*" }
|
|
|
|
|
+ postbuildcommands {
|
|
|
|
|
+ "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux64_gcc/bin/shadercDebug " .. CROWN_INSTALL_DIR .. "bin/linux64/shaderc"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ configuration { "release", "x64", "linux-*" }
|
|
|
|
|
+ postbuildcommands {
|
|
|
|
|
+ "cp " .. CROWN_THIRD_DIR .. "bgfx/.build/linux64_gcc/bin/shadercRelease " .. CROWN_INSTALL_DIR .. "bin/linux64/shaderc"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
configuration { "android" }
|
|
configuration { "android" }
|