summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/postbuild.bat
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-10-15 15:40:49 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-10-15 15:40:49 +0000
commitbe9d1d42a340bad458173992b219def3dfed03ae (patch)
treeb980d13b10011a7276e0211246e5972046796a01 /FaceTrackNoIR/postbuild.bat
parent6999bf3ef1c30d5af447c8cdd98213d1b1106a30 (diff)
SimConnect interface toegevoegd voor Microsoft FSX...
Werkt al! git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@23 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/postbuild.bat')
-rw-r--r--FaceTrackNoIR/postbuild.bat27
1 files changed, 27 insertions, 0 deletions
diff --git a/FaceTrackNoIR/postbuild.bat b/FaceTrackNoIR/postbuild.bat
new file mode 100644
index 00000000..6653067e
--- /dev/null
+++ b/FaceTrackNoIR/postbuild.bat
@@ -0,0 +1,27 @@
+@echo off
+rem Copies required DLL files into output folder.
+
+setlocal
+set COPY=xcopy /D /S /C /I /H /R /Y
+set FILTER=find /v "File(s) copied"
+
+echo parameters %1 en %2 en %3
+
+set API_BIN=%1
+set OUTDIR=%2
+set CONFIG=%3
+
+if %CONFIG%==Debug (goto Debug)
+if %CONFIG%==Release (goto Release)
+
+echo Unknown build configuration %CONFIG%
+exit /b -1
+
+:Debug
+%COPY% %API_BIN% %OUTDIR%\ | %FILTER%
+exit /b 0
+
+:Release
+%COPY% %API_BIN% %OUTDIR%\ | %FILTER%
+exit /b 0
+