Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2013-03-10 05:58:03 +0400
committerOliver Schneider <oliver@assarbad.net>2013-03-10 05:58:03 +0400
commitce13d936ee6216d45f13b3b7e1aff12296413f3d (patch)
tree924b841b732aedbd6abc420b5d9f6b8bc75b73a8 /tests
parentaf537ed69c1ef03e8dc7d5fcf9854849049c5b92 (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
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/vstudio/vc200x/test_mfc.lua36
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