diff --git a/windows/netgen.sln b/windows/netgen.sln new file mode 100644 index 00000000..299a34a8 --- /dev/null +++ b/windows/netgen.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C++ Express 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "netgen", "netgen.vcproj", "{87468946-A594-4101-81A4-A131F35261EF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug(OCC)|Win32 = Debug(OCC)|Win32 + Debug|Win32 = Debug|Win32 + Release(OCC)|Win32 = Release(OCC)|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {87468946-A594-4101-81A4-A131F35261EF}.Debug(OCC)|Win32.ActiveCfg = Debug(OCC)|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Debug(OCC)|Win32.Build.0 = Debug(OCC)|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Debug|Win32.ActiveCfg = Debug|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Debug|Win32.Build.0 = Debug|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Release(OCC)|Win32.ActiveCfg = Release(OCC)|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Release(OCC)|Win32.Build.0 = Release(OCC)|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Release|Win32.ActiveCfg = Release|Win32 + {87468946-A594-4101-81A4-A131F35261EF}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/windows/netgen.suo b/windows/netgen.suo new file mode 100644 index 00000000..d689182b Binary files /dev/null and b/windows/netgen.suo differ diff --git a/windows/netgen.vcproj b/windows/netgen.vcproj new file mode 100644 index 00000000..1af9e7cc --- /dev/null +++ b/windows/netgen.vcproj @@ -0,0 +1,1556 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/windows/postBuild_Install.bat b/windows/postBuild_Install.bat new file mode 100644 index 00000000..5923d2ca --- /dev/null +++ b/windows/postBuild_Install.bat @@ -0,0 +1,43 @@ +REM ********************************************************************************* +REM *** Netgen Windows Post-Build Script +REM *** Author: Philippose Rajan +REM *** Date: 31/01/2009 +REM *** +REM *** Used to perform an "Install" of the generated executable +REM *** along with the required *.tcl files +REM *** +REM *** Call from Windows using: +REM *** postBuild_Install.bat $(InputName) $(TargetFileName) $(OutDir) $(ProjectDir) +REM ********************************************************************************* +if [%1]==[] goto BuildEventFailed +set PROJ_NAME=%1 +set PROJ_EXEC=%2 +set BUILD_TYPE=%3 +set PROJ_DIR=%4 + +REM *** Change these Folders if required *** +set NETGEN_TCLSRC=%PROJ_DIR%..\ng +set INSTALL_FOLDER=%PROJ_DIR%%BUILD_TYPE%-inst + +echo POSTBUILD Script for %PROJ_NAME% ........ + +REM *** Embed the Windows Manifest into the Executable File *** +echo Embedding Manifest into the executable: %PROJ_EXEC% .... +mt.exe -manifest "%BUILD_TYPE%\%PROJ_EXEC%.intermediate.manifest" "-outputresource:%BUILD_TYPE%\%PROJ_EXEC%;1" +if errorlevel 1 goto BuildEventFailed + +REM *** Copy the TCL files and the executable to the Install Folder *** +echo Installing required files into %INSTALL_FOLDER% .... +xcopy "%NETGEN_TCLSRC%\*.tcl" "%INSTALL_FOLDER%" /i /d /y +if errorlevel 1 goto BuildEventFailed + +xcopy "%PROJ_DIR%%BUILD_TYPE%\%PROJ_EXEC%" "%INSTALL_FOLDER%" /i /d /y +if errorlevel 1 goto BuildEventFailed + +REM *** If there have been no errors so far, we are done *** +goto BuildEventOK +:BuildEventFailed +echo POSTBUILD Script for %PROJ_NAME% FAILED..... Install Manually !!! +exit 1 +:BuildEventOK +echo POSTBUILD Script for %PROJ_NAME% completed OK.....!!