2018-12-01 09:42:29 -05:00
|
|
|
workspace "open-mw3"
|
|
|
|
location "./build"
|
|
|
|
objdir "%{wks.location}/obj"
|
|
|
|
targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
"Debug",
|
|
|
|
"Release",
|
|
|
|
}
|
|
|
|
|
|
|
|
architecture "x32"
|
|
|
|
platforms "x32"
|
|
|
|
|
|
|
|
buildoptions "/std:c++latest"
|
|
|
|
systemversion "latest"
|
|
|
|
symbols "On"
|
|
|
|
staticruntime "On"
|
|
|
|
warnings "Extra"
|
|
|
|
|
2018-12-23 16:15:32 -05:00
|
|
|
flags {
|
|
|
|
"StaticRuntime",
|
|
|
|
"NoIncrementalLink",
|
|
|
|
"NoEditAndContinue",
|
|
|
|
"NoMinimalRebuild",
|
|
|
|
"MultiProcessorCompile",
|
|
|
|
"No64BitChecks"
|
|
|
|
}
|
|
|
|
|
2018-12-01 09:42:29 -05:00
|
|
|
configuration "windows"
|
|
|
|
defines {
|
|
|
|
"_WINDOWS",
|
|
|
|
"WIN32",
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration "Release"
|
|
|
|
optimize "Full"
|
|
|
|
|
|
|
|
defines {
|
|
|
|
"NDEBUG",
|
|
|
|
}
|
|
|
|
|
|
|
|
flags {
|
|
|
|
"LinkTimeOptimization",
|
|
|
|
"FatalCompileWarnings",
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration "Debug"
|
|
|
|
optimize "Debug"
|
|
|
|
|
|
|
|
defines {
|
|
|
|
"DEBUG",
|
|
|
|
"_DEBUG",
|
|
|
|
}
|
|
|
|
|
|
|
|
configuration {}
|
|
|
|
|
|
|
|
project "open-mw3"
|
2018-12-23 07:17:08 -05:00
|
|
|
kind "WindowedApp"
|
2018-12-01 09:42:29 -05:00
|
|
|
language "C++"
|
|
|
|
|
|
|
|
pchheader "std_include.hpp"
|
|
|
|
pchsource "src/std_include.cpp"
|
2018-12-23 16:15:32 -05:00
|
|
|
|
|
|
|
linkoptions "/IGNORE:4254 /DYNAMICBASE:NO /SAFESEH:NO /LARGEADDRESSAWARE"
|
|
|
|
linkoptions "/LAST:.zdata"
|
|
|
|
|
2018-12-01 09:42:29 -05:00
|
|
|
|
|
|
|
files {
|
|
|
|
"./src/**.rc",
|
|
|
|
"./src/**.hpp",
|
|
|
|
"./src/**.cpp"
|
|
|
|
}
|
|
|
|
|
|
|
|
includedirs {
|
|
|
|
"./src"
|
|
|
|
}
|
|
|
|
|
|
|
|
resincludedirs {
|
|
|
|
"$(ProjectDir)src"
|
|
|
|
}
|