diff --git a/2010 DLL/vs-android.Build.CPPTasks.Android.dll b/2010 DLL/vs-android.Build.CPPTasks.Android.dll new file mode 100644 index 0000000..28d35b2 Binary files /dev/null and b/2010 DLL/vs-android.Build.CPPTasks.Android.dll differ diff --git a/2012 DLL/vs-android.Build.CPPTasks.Android.dll b/2012 DLL/vs-android.Build.CPPTasks.Android.dll new file mode 100644 index 0000000..0d405ee Binary files /dev/null and b/2012 DLL/vs-android.Build.CPPTasks.Android.dll differ diff --git a/2013 DLL/vs-android.Build.CPPTasks.Android.dll b/2013 DLL/vs-android.Build.CPPTasks.Android.dll new file mode 100644 index 0000000..d2525dc Binary files /dev/null and b/2013 DLL/vs-android.Build.CPPTasks.Android.dll differ diff --git a/Emscripten/Emscripten.CppBuild.targets b/Emscripten/Emscripten.CppBuild.targets index b2edc52..602d3bd 100644 --- a/Emscripten/Emscripten.CppBuild.targets +++ b/Emscripten/Emscripten.CppBuild.targets @@ -5,6 +5,12 @@ false + + + true + + + @@ -37,6 +43,11 @@ PropertySheet + + + File + + diff --git a/Emscripten/Emscripten.EnvVars.props b/Emscripten/Emscripten.EnvVars.props index 7105d42..68a31fe 100644 --- a/Emscripten/Emscripten.EnvVars.props +++ b/Emscripten/Emscripten.EnvVars.props @@ -2,5 +2,9 @@ true false + + + 10.0 + diff --git a/Emscripten/Emscripten.ToolDefaults.props b/Emscripten/Emscripten.ToolDefaults.props index 688db97..5f5f57d 100644 --- a/Emscripten/Emscripten.ToolDefaults.props +++ b/Emscripten/Emscripten.ToolDefaults.props @@ -1,14 +1,14 @@ + + $(IntDir)%(FileName).o + NormalWarnings false false - false - - $(IntDir)%(Filename).o - $(IntDir)%(Filename).o + true Default @@ -32,17 +32,28 @@ $(IncludePath) EMSCRIPTEN;__STDC__ _WIN32;WIN32;__i386__;__x86_64__;__i386;__x86_64;__SSE__;__SSE2__;__MMX__;X87_DOUBLE_ROUNDING;HAVE_GCC_ASM_FOR_X87;__STRICT_ANSI__;__CYGWIN__;__APPLE__ + NotUsing + $(IntDir)$(TargetName).pch.h + true - "$(IntDir)%(FileName).d" - + $(IntDir)%(FileName).d + -c -m32 -Xclang -triple=i386-pc-linux-gnu -nostdinc -Xclang -nobuiltininc -Xclang -nostdinc++ -Xclang -nostdsysteminc -emit-llvm NotSet + + + + $(IntDir)$(TargetName).pdb + $(TLogLocation) + + + - true - $(IntDir)%(Filename).o + true + $(IntDir)%(FileName).o @@ -79,20 +90,31 @@ $(OutDir)$(TargetName)$(TargetExt) false - - NotSet false - $(LibraryPath) + + + + $(TLogLocation) + + + $(OutDir)$(TargetName)$(TargetExt) - false + false + + + + + + + $(TLogLocation) diff --git a/Emscripten/Emscripten.ToolPaths.props b/Emscripten/Emscripten.ToolPaths.props index 243475c..49c9186 100644 --- a/Emscripten/Emscripten.ToolPaths.props +++ b/Emscripten/Emscripten.ToolPaths.props @@ -1,31 +1,57 @@ + + $(EMSCRIPTEN)\system\local\include;$(EMSCRIPTEN)\system\include\compat;$(EMSCRIPTEN)\system\include\libcxx;$(EMSCRIPTEN)\system\include;$(EMSCRIPTEN)\system\include\emscripten;$(EMSCRIPTEN)\system\include\bsd;$(EMSCRIPTEN)\system\include\libc;$(EMSCRIPTEN)\system\include\gfx;$(EMSCRIPTEN)\system\include\net;$(EMSCRIPTEN)\system\include\SDL + $(CLANG_BIN) + $(MINGW_BIN) + $(EMSCRIPTEN) + $(NACL_BIN) + $(ClangPath);$(EmccPath);$(PATH) + $(ClangPath);$(PATH) + $(MinGWPath);$(PATH) + $(NaclPath);$(PATH) + $(EmscriptenIncludeDir) + + + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VS@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\Setup\VS@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\12.0\Setup\VS@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\12.0\Setup\VS@ProductDir) + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VC@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\Setup\VC@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\12.0\Setup\VC@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\12.0\Setup\VC@ProductDir) + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A@InstallationFolder) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v8.1A@InstallationFolder) + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework@InstallRoot) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework@InstallRoot) + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A@InstallationFolder) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v8.1A@InstallationFolder) + + + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VC@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Setup\VC@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\10.0\Setup\VC@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\10.0\Setup\VC@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Setup\VS@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\10.0\Setup\VS@ProductDir) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\10.0\Setup\VS@ProductDir) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A@InstallationFolder) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.0A@InstallationFolder) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework@InstallRoot) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework@InstallRoot) + $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A@InstallationFolder) $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.0A@InstallationFolder) - - - $(EMSCRIPTEN)\system\local\include;$(EMSCRIPTEN)\system\include\compat;$(EMSCRIPTEN)\system\include\libcxx;$(EMSCRIPTEN)\system\include;$(EMSCRIPTEN)\system\include\emscripten;$(EMSCRIPTEN)\system\include\bsd;$(EMSCRIPTEN)\system\include\libc;$(EMSCRIPTEN)\system\include\gfx;$(EMSCRIPTEN)\system\include\net;$(EMSCRIPTEN)\system\include\SDL - - $(CLANG_BIN) - $(MINGW_BIN) - $(EMSCRIPTEN) - $(NACL_BIN) - $(ClangPath);$(EmccPath);$(PATH) - $(ClangPath);$(PATH) - $(MinGWPath);$(PATH) - $(NaclPath);$(PATH) - $(EmscriptenIncludeDir) diff --git a/Emscripten/Microsoft.Cpp.Emscripten.default.props b/Emscripten/Microsoft.Cpp.Emscripten.default.props index ed64397..57ae34d 100644 --- a/Emscripten/Microsoft.Cpp.Emscripten.default.props +++ b/Emscripten/Microsoft.Cpp.Emscripten.default.props @@ -7,6 +7,12 @@ $(IntermediateOutputPath) $(Platform)\$(Configuration)\ $(SolutionDir)$(Platform)\$(Configuration)\ - $(IntDir) - + $(IntDir) + + + + + $(ProjectName) + false + diff --git a/Emscripten/Microsoft.Cpp.Emscripten.targets b/Emscripten/Microsoft.Cpp.Emscripten.targets index 5eeb58f..9a3c4f6 100644 --- a/Emscripten/Microsoft.Cpp.Emscripten.targets +++ b/Emscripten/Microsoft.Cpp.Emscripten.targets @@ -2,9 +2,9 @@ - - - + + + @@ -24,6 +24,14 @@ CompileAsAsm CompileAsCpp false + false + + + + + + + true @@ -39,16 +47,15 @@ ToolPath ="$(CLToolPath)" TrackFileAccess ="$(TrackFileAccess)" MinimalRebuildFromTracking ="%(ClCompile.MinimalRebuildFromTracking)" - + AcceptableNonZeroExitCodes ="%(ClCompile.AcceptableNonZeroExitCodes)" - GCCToolPath ="$(GccCompiler)" EchoCommandLines ="%(ClCompile.EchoCommandLines)" - GenerateDependencyFiles ="false" + GCCToolPath ="$(GccCompiler)" PropertyXmlFile ="$(VCTargetsPath)\Platforms\Emscripten\Props\clang_compile.xml" > - + @@ -59,7 +66,7 @@ ******************************************************************************************* --> - + true @@ -92,9 +99,9 @@ - + - + @@ -131,32 +138,36 @@ AcceptableNonZeroExitCodes ="%(Link.AcceptableNonZeroExitCodes)" - EchoCommandLines ="%(Link.EchoCommandLines)" - GCCToolPath ="$(GccLinker)" + EchoCommandLines ="%(Link.EchoCommandLines)" + GCCToolPath ="$(GccLinker)" PropertyXmlFile ="$(VCTargetsPath)\Platforms\Emscripten\Props\emcc_link.xml" > - + - - - + + + - + + + + $([System.IO.Path]::Combine($(ProjectDir),$(OutDir)$(TargetName)$(TargetExt))) + + + - + - - - - + \ No newline at end of file diff --git a/Emscripten/Platform.Default.props b/Emscripten/Platform.Default.props new file mode 100644 index 0000000..857aeb6 --- /dev/null +++ b/Emscripten/Platform.Default.props @@ -0,0 +1,5 @@ + + + + + diff --git a/Emscripten/Platform.props b/Emscripten/Platform.props new file mode 100644 index 0000000..6341599 --- /dev/null +++ b/Emscripten/Platform.props @@ -0,0 +1,5 @@ + + + + + diff --git a/Emscripten/Platform.targets b/Emscripten/Platform.targets new file mode 100644 index 0000000..a74abf3 --- /dev/null +++ b/Emscripten/Platform.targets @@ -0,0 +1,5 @@ + + + + + diff --git a/Emscripten/vs_android.Build.CPPTasks.Android.dll b/Emscripten/vs_android.Build.CPPTasks.Android.dll deleted file mode 100644 index a3e006f..0000000 Binary files a/Emscripten/vs_android.Build.CPPTasks.Android.dll and /dev/null differ diff --git a/install.cmd b/install.cmd new file mode 100644 index 0000000..2472e20 --- /dev/null +++ b/install.cmd @@ -0,0 +1,82 @@ +@echo off +Rem This will bail if we don't have admin privs. +net session >nul 2>&1 + if errorLevel 1 ( + Echo.This batch file needs to be run with administrative privileges. Since it copies files to the \Program Files directory. + Pause + Goto cleanup +) +rem On 64-bit machines, Visual Studio 2013 and MsBuild is in the (x86) directory. So try that last. +if exist "%ProgramFiles%" set "MsBuildRootDir=%ProgramFiles%\MSBuild\Microsoft.Cpp\v4.0" +if exist "%ProgramFiles(x86)%" set "MsBuildRootDir=%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0" + +echo.%MsBuildRootDir% +set /a n=0 +:loopVisualStudioVersion +echo.%n% +if %n%==0 ( + set VsVersion=2010 + set "MsBuildCppDir=%MsBuildRootDir%\Platforms" +) +if %n%==1 ( + set VsVersion=2012 + set "MsBuildCppDir=%MsBuildRootDir%\V110\Platforms" +) +if %n%==2 ( + set VsVersion=2013 + set "MsBuildCppDir=%MsBuildRootDir%\V120\Platforms" +) +if %n%==3 GOTO complete + +if not exist "%MsBuildCppDir%" ( + set /a n=%n%+1 + goto loopVisualStudioVersion +) + +Echo.Installing into Visual Studio %VsVersion% +set /a i=0 +:loop +if %i%==0 set CppVersion=Clang +if %i%==1 set CppVersion=Emscripten +if %i%==2 set CppVersion=MinGW +if %i%==3 set CppVersion=NaCl +if %i%==4 ( +set /a n=%n%+1 +goto loopVisualStudioVersion +) + +if exist %MsBuildCppDir%\%CppVersion% ( + Echo."%CppVersion%" Cpp MsBuild toolset already exists. + Echo.Continuing will delete the version already installed to this directory: + + rd "%MsBuildCppDir%\%CppVersion%" /s + if exist "%MsBuildCppDir%\%CppVersion%" ( + Echo.Failed to remove directory + Pause + goto cleanup + ) + echo. +) + +md "%MsBuildCppDir%\%CppVersion%" + +echo.Installing %CppVersion% MSBuild files: +cd /d %~dp0 +xcopy "%CppVersion%\*.*" "%MsBuildCppDir%\%CppVersion%" /E +if %CppVersion%==Emscripten xcopy "%VsVersion% DLL\*.dll" "%MsBuildCppDir%\%CppVersion%" /E + +if errorlevel 1 ( + echo.Problem with copying + Pause + goto cleanup +) + +SET /a i=%i%+1 +GOTO loop + +:complete +echo. +echo.Done! You will need to close and re-open existing instances of Visual Studio. +Pause + +:cleanup \ No newline at end of file