Skip to content

Commit

Permalink
Use only one solution file
Browse files Browse the repository at this point in the history
The solution file can be shared across VS (2010-2013) versions if you specify the minimum supported version at the beginning of the file (i.e. VS won't ask you to upgrade the solution file).
  • Loading branch information
BrunoReX authored and Cyberbeing committed Mar 4, 2014
1 parent 1802596 commit 13b4eed
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 384 deletions.
6 changes: 2 additions & 4 deletions build_vsfilter.sh
Expand Up @@ -9,20 +9,18 @@ function Usage()
echo -e '-plat\t\t"Win32"'
echo -e '-action\t\tbuild'
echo -e '-proj\t\t"vsfilter xy_sub_filter"'
echo -e '-solution\tsrc/filters/transform/vsfilter/VSFilter_vs2010.sln'
echo -e '-solution\tsrc/filters/transform/vsfilter/VSFilter.sln'
echo -e '-compiler\tVS2010'
echo -e "\nVisual Studio 2012:"
echo -e '-solution\tsrc/filters/transform/vsfilter/VSFilter_vs2012.sln'
echo -e '-compiler\tVS2012'
echo -e "\nVisual Studio 2013:"
echo -e '-solution\tsrc/filters/transform/vsfilter/VSFilter_vs2013.sln'
echo -e '-compiler\tVS2013'
}

script_dir=`dirname $0`
cd $script_dir

solution="src/filters/transform/vsfilter/VSFilter_vs2010.sln"
solution="src/filters/transform/vsfilter/VSFilter.sln"
action="build"
configuration="Release"
platform="Win32"
Expand Down
2 changes: 1 addition & 1 deletion build_vsfilter_vs2012.sh
@@ -1,3 +1,3 @@
#!/bin/sh

sh build_vsfilter.sh -solution src/filters/transform/vsfilter/VSFilter_vs2012.sln -compiler VS2012
sh build_vsfilter.sh -compiler VS2012
2 changes: 1 addition & 1 deletion build_vsfilter_vs2013.sh
@@ -1,3 +1,3 @@
#!/bin/sh

sh build_vsfilter.sh -solution src/filters/transform/vsfilter/VSFilter_vs2013.sln -compiler VS2013
sh build_vsfilter.sh -compiler VS2013
@@ -1,5 +1,5 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "subtitles", "..\..\..\subtitles\subtitles.vcxproj", "{5E56335F-0FB1-4EEA-B240-D8DC5E0608E4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "basevideofilter", "..\basevideofilter\basevideofilter.vcxproj", "{54DDA60F-E528-4D07-A152-960A1E818680}"
Expand Down
188 changes: 0 additions & 188 deletions src/filters/transform/vsfilter/VSFilter_vs2010.sln

This file was deleted.

0 comments on commit 13b4eed

Please sign in to comment.