- Timestamp:
- 08/17/11 00:08:47 (13 years ago)
- Location:
- ps/trunk
- Files:
-
- 3 edited
-
build/premake/premake.lua (modified) (1 diff)
-
build/premake/premake4.lua (modified) (2 diffs)
-
source/tools/atlas/AtlasFrontends/ActorEditor.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/build/premake/premake.lua
r9989 r10018 904 904 -- required to use WinMain() on Windows, otherwise will default to main() 905 905 tinsert(package.buildflags, "no-main") 906 907 -- see manifest.cpp 908 -- (we need to use " because Premake emits this string directly 909 -- into a double-quoted attribute value in the project XML files 910 -- with no automatic escaping) 911 package.linkoptions = { 912 ""/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'"", 913 } 914 915 package.config["Debug"].linkoptions = { 916 ""/manifestdependency:type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50727.4053' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"", 917 } 918 package.config["Release"].linkoptions = { 919 ""/manifestdependency:type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.4053' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'"", 920 } 906 921 907 922 else -- Non-Windows, = Unix -
ps/trunk/build/premake/premake4.lua
r9989 r10018 669 669 } 670 670 671 -- see manifest.cpp 671 672 project_add_manifest() 672 673 … … 874 875 -- required to use WinMain() on Windows, otherwise will default to main() 875 876 flags { "WinMain" } 877 878 -- see manifest.cpp 879 project_add_manifest() 876 880 877 881 else -- Non-Windows, = Unix -
ps/trunk/source/tools/atlas/AtlasFrontends/ActorEditor.cpp
r6910 r10018 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 21 21 # include <windows.h> 22 22 23 / / Use WinXP-style controls24 # if _MSC_VER >= 1400 // (can't be bothered to implement this for VC7.1...) 25 # pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'\"")26 # endif 23 /* Don't use pragmas here to set the manifests, instead do this in premake4.lua 24 * since pragmas get ignored by the autobuilder 25 * (see comments in lib\sysdep\os\win\manifest.cpp) 26 */ 27 27 28 28 # define ATLASDLLIMPEXP extern "C" __declspec(dllimport)
Note:
See TracChangeset
for help on using the changeset viewer.
