From fef32e8f6aac170387427296ee86468afc5eaf1c Mon Sep 17 00:00:00 2001 From: "dev@Rose-PC.cable.virginmedia.net" Date: Sun, 1 May 2011 01:04:27 +0100 Subject: set the platform in vs10 static libs --- .../actions/vstudio/test_vs2010_project_kinds.lua | 37 +++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/actions/vstudio/test_vs2010_project_kinds.lua b/tests/actions/vstudio/test_vs2010_project_kinds.lua index 5561220..e87d12a 100644 --- a/tests/actions/vstudio/test_vs2010_project_kinds.lua +++ b/tests/actions/vstudio/test_vs2010_project_kinds.lua @@ -180,4 +180,39 @@ test.string_contains(get_buffer(), '.* %%%(AdditionalOptions%).*') end - \ No newline at end of file + + + function vs10_project_kinds.staticLibX64_TargetMachineSetInLib() + kind "StaticLib" + platforms{'x64'} + local buffer = get_buffer() + test.string_contains(buffer,'.*.*.*') + end + + function vs10_project_kinds.staticLibX64_TargetMachineInLibSetToMachineX64() + kind "StaticLib" + platforms{'x64'} + local buffer = get_buffer() + test.string_contains(buffer,'.*MachineX64.*') + end + + function vs10_project_kinds.staticLibX32_TargetMachineSetInLib() + kind "StaticLib" + platforms{'x32'} + local buffer = get_buffer() + test.string_contains(buffer,'.*.*.*') + end + + function vs10_project_kinds.staticLibX32_TargetMachineInLibSetToMachineX86() + kind "StaticLib" + platforms{'x32'} + local buffer = get_buffer() + test.string_contains(buffer,'.*MachineX86.*') + end + + function vs10_project_kinds.staticLibNative_TargetMachineInLibSetToMachineX86() + kind "StaticLib" + platforms{'Native'} + local buffer = get_buffer() + test.string_contains(buffer,'.*MachineX86.*') + end \ No newline at end of file -- cgit v1.2.3