Created
October 22, 2011 07:12
-
-
Save zao/1305730 to your computer and use it in GitHub Desktop.
Horror, oh the horror! premake4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solution "brigade" | |
configurations { "Debug", "Release" } | |
location "build" | |
defines { | |
"WIN32", | |
"_WIN32_WINNT=0x0600", | |
"_CRT_SECURE_NO_WARNINGS=1", | |
"_SCL_SECURE_NO_WARNINGS=1", | |
"_WINDOWS", | |
"UNICODE" | |
} | |
configuration "Debug" | |
defines { "DEBUG" } | |
flags { "Symbols", "WinMain" } | |
configuration "Release" | |
defines { "NDEBUG" } | |
flags { "Symbols", "Optimize", "WinMain" } | |
project "brigade" | |
uuid "217D676A-A6AB-4B5C-A2D4-F428A849E922" | |
kind "WindowedApp" | |
language "C++" | |
includedirs { | |
"cml-1_0_3", | |
"core_lib", | |
"lua-5.1.4/src", | |
"luabind-0.9.1", | |
os.getenv("DXSDK_DIR") .. "include", | |
} | |
buildoptions { "/Zm200" } | |
debugdir "." | |
debugenvs { | |
"_NO_DEBUG_HEAP=1", | |
} | |
files { | |
"brigade/**.h", | |
"brigade/**.cc", | |
} | |
links { | |
"core_lib", "lua", "luabind", "mongoose", "protobuf", | |
} | |
pchheader "brigade/BrigPCH.h" | |
pchsource "brigade/BrigPCH.cc" | |
project "core_lib" | |
uuid "E64DCE0E-AE12-40AE-BE02-902DD05C3D23" | |
kind "StaticLib" | |
language "C++" | |
includedirs { | |
"cml-1_0_3", | |
"core_lib/wire", | |
} | |
files { | |
"core_lib/**.h", | |
"core_lib/**.cc", | |
} | |
links { "protobuf" } | |
project "lua" | |
uuid "87EB567B-A3FE-429F-91D6-98294A2AD9EF" | |
kind "StaticLib" | |
language "C" | |
files { | |
"lua-5.1.4/src/**.h", | |
"lua-5.1.4/src/**.c", | |
} | |
excludes { | |
"lua-5.1.4/src/lua.c", | |
"lua-5.1.4/src/luac.c", | |
"lua-5.1.4/src/print.c", | |
} | |
project "luabind" | |
uuid "0CDC0A6C-024F-4019-93D3-CC3322FDEE11" | |
kind "StaticLib" | |
language "C++" | |
includedirs { | |
"lua-5.1.4/src", | |
"luabind-0.9.1", | |
} | |
files { | |
"luabind-0.9.1/src/**.cpp", | |
"luabind-0.9.1/luabind/**.hpp", | |
} | |
links { "lua" } | |
project "mongoose" | |
uuid "96162CB2-7912-498D-8F3E-7CB3720808C2" | |
kind "StaticLib" | |
language "C" | |
files { | |
"mongoose/*.h", | |
"mongoose/*.c", | |
} | |
project "protobuf" | |
uuid "6C92ABB0-A50C-48B1-BDD1-F4ED00DDD170" | |
kind "StaticLib" | |
language "C++" | |
includedirs { | |
"protobuf-2.4.1/src", | |
"protobuf-2.4.1/src/google/protobuf", | |
"protobuf-2.4.1/src/google/protobuf/io", | |
"protobuf-2.4.1/vsprojects", | |
} | |
files { | |
"protobuf-2.4.1/src/google/protobuf/compiler/importer.cc", | |
"protobuf-2.4.1/src/google/protobuf/compiler/parser.cc", | |
"protobuf-2.4.1/src/google/protobuf/descriptor.cc", | |
"protobuf-2.4.1/src/google/protobuf/descriptor.pb.cc", | |
"protobuf-2.4.1/src/google/protobuf/descriptor_database.cc", | |
"protobuf-2.4.1/src/google/protobuf/dynamic_message.cc", | |
"protobuf-2.4.1/src/google/protobuf/extension_set.cc", | |
"protobuf-2.4.1/src/google/protobuf/extension_set_heavy.cc", | |
"protobuf-2.4.1/src/google/protobuf/generated_message_reflection.cc", | |
"protobuf-2.4.1/src/google/protobuf/generated_message_util.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/coded_stream.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/gzip_stream.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/printer.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/tokenizer.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream_impl.cc", | |
"protobuf-2.4.1/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", | |
"protobuf-2.4.1/src/google/protobuf/message.cc", | |
"protobuf-2.4.1/src/google/protobuf/message_lite.cc", | |
"protobuf-2.4.1/src/google/protobuf/reflection_ops.cc", | |
"protobuf-2.4.1/src/google/protobuf/repeated_field.cc", | |
"protobuf-2.4.1/src/google/protobuf/service.cc", | |
"protobuf-2.4.1/src/google/protobuf/stubs/common.cc", | |
"protobuf-2.4.1/src/google/protobuf/stubs/once.cc", | |
"protobuf-2.4.1/src/google/protobuf/stubs/structurally_valid.cc", | |
"protobuf-2.4.1/src/google/protobuf/stubs/strutil.cc", | |
"protobuf-2.4.1/src/google/protobuf/stubs/substitute.cc", | |
"protobuf-2.4.1/src/google/protobuf/text_format.cc", | |
"protobuf-2.4.1/src/google/protobuf/unknown_field_set.cc", | |
"protobuf-2.4.1/src/google/protobuf/wire_format.cc", | |
"protobuf-2.4.1/src/google/protobuf/wire_format_lite.cc", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment