mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
* Microsoft Visual C++ 2008 Solution and Project files for compiling Netgen in Windows
* A Compiler Switch (MSVC_EXPRESS) allows the code to be compiled in the Express Editions of Visual C++ without any further modifications * These project files also include build configurations for compiling Netgen with OpenCascade support
This commit is contained in:
parent
6fedcf841a
commit
8212006b9c
26
windows/netgen.sln
Normal file
26
windows/netgen.sln
Normal file
@ -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
|
BIN
windows/netgen.suo
Normal file
BIN
windows/netgen.suo
Normal file
Binary file not shown.
1556
windows/netgen.vcproj
Normal file
1556
windows/netgen.vcproj
Normal file
File diff suppressed because it is too large
Load Diff
43
windows/postBuild_Install.bat
Normal file
43
windows/postBuild_Install.bat
Normal file
@ -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.....!!
|
Loading…
Reference in New Issue
Block a user