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

github.com/windirstat/premake-4.x-stable.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
commit61720e026ffad007f17fef91157ee9872bb5fc79 (patch)
tree924b841b732aedbd6abc420b5d9f6b8bc75b73a8 /tests
parent34ae33738da2c433869e6b815eb089c52761ec65 (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.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