From 61720e026ffad007f17fef91157ee9872bb5fc79 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Sun, 10 Mar 2013 01:58:03 +0000 Subject: Implemented flags ATL and StaticATL to complement MFC and StaticRuntime flags ... perhaps an addition could be to make assumptions for ATL based on StaticRuntime as well, but in general these are distinct configuration settings --HG-- branch : atl-support --- tests/actions/vstudio/vc200x/test_mfc.lua | 36 ++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/actions/vstudio/vc200x/test_mfc.lua b/tests/actions/vstudio/vc200x/test_mfc.lua index ea0671e..cf0a54a 100644 --- a/tests/actions/vstudio/vc200x/test_mfc.lua +++ b/tests/actions/vstudio/vc200x/test_mfc.lua @@ -1,6 +1,6 @@ -- -- tests/actions/vstudio/vc200x/test_mfc.lua --- Validate MFC support in Visual Studio 200x C/C++ projects. +-- Validate ATL/MFC support in Visual Studio 200x C/C++ projects. -- Copyright (c) 2011 Jason Perkins and the Premake project -- @@ -62,3 +62,37 @@ > ]] end + +-- +-- Same as above for ATL. +-- + + function suite.useOfAtl_isDynamic_onSharedRuntime() + flags { "ATL" } + prepare() + test.capture [[ + + ]] + end + + function suite.useOfAtl_isStatic_onStaticRuntime() + flags { "StaticATL" } + prepare() + test.capture [[ + + ]] + end -- cgit v1.2.3