diff options
author | Oliver Schneider <oliver@assarbad.net> | 2013-03-10 05:58:03 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2013-03-10 05:58:03 +0400 |
commit | 61720e026ffad007f17fef91157ee9872bb5fc79 (patch) | |
tree | 924b841b732aedbd6abc420b5d9f6b8bc75b73a8 /tests | |
parent | 34ae33738da2c433869e6b815eb089c52761ec65 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions/vstudio/vc200x/test_mfc.lua | 36 |
1 files changed, 35 insertions, 1 deletions
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 [[ + <Configuration + Name="Debug|Win32" + OutputDirectory="." + IntermediateDirectory="obj\Debug" + ConfigurationType="1" + UseOfATL="2" + CharacterSet="2" + > + ]] + end + + function suite.useOfAtl_isStatic_onStaticRuntime() + flags { "StaticATL" } + prepare() + test.capture [[ + <Configuration + Name="Debug|Win32" + OutputDirectory="." + IntermediateDirectory="obj\Debug" + ConfigurationType="1" + UseOfATL="1" + CharacterSet="2" + > + ]] + end |