This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10018 for ps


Ignore:
Timestamp:
08/17/11 00:08:47 (13 years ago)
Author:
ben
Message:

Fixes manifest dependencies for Actor Editor. Fixes #924.

Location:
ps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/build/premake/premake.lua

    r9989 r10018  
    904904        -- required to use WinMain() on Windows, otherwise will default to main()
    905905        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        }
    906921
    907922    else -- Non-Windows, = Unix
  • ps/trunk/build/premake/premake4.lua

    r9989 r10018  
    669669        }
    670670
     671        -- see manifest.cpp
    671672        project_add_manifest()
    672673
     
    874875        -- required to use WinMain() on Windows, otherwise will default to main()
    875876        flags { "WinMain" }
     877       
     878        -- see manifest.cpp
     879        project_add_manifest()
    876880
    877881    else -- Non-Windows, = Unix
  • ps/trunk/source/tools/atlas/AtlasFrontends/ActorEditor.cpp

    r6910 r10018  
    1 /* Copyright (C) 2009 Wildfire Games.
     1/* Copyright (C) 2011 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    2121# include <windows.h>
    2222
    23 // Use WinXP-style controls
    24 # 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 */
    2727
    2828# define ATLASDLLIMPEXP extern "C" __declspec(dllimport)
Note: See TracChangeset for help on using the changeset viewer.