summaryrefslogtreecommitdiff
path: root/packman/windows/packman.cmd
diff options
context:
space:
mode:
authorJason Maskell <Jason Maskell>2016-07-26 16:21:57 +0700
committerJason Maskell <Jason Maskell>2016-07-26 16:21:57 +0700
commit9d3f79f7e7e68ca9e296368587ab22494ffaf19b (patch)
treeeaa4190d763f6504ba5ba91fe367c937406a2a45 /packman/windows/packman.cmd
parentModified finders to take Visual Studio platform into account when finding lib... (diff)
downloadwaveworks_archive-9d3f79f7e7e68ca9e296368587ab22494ffaf19b.tar.xz
waveworks_archive-9d3f79f7e7e68ca9e296368587ab22494ffaf19b.zip
Added Packman support - now the GenerateProjects.bat uses Packman to pull dependencies specified in WaveWorksDependencies.xml
Finders of these dependencies are modified to look in the Packman repo.
Diffstat (limited to 'packman/windows/packman.cmd')
-rw-r--r--packman/windows/packman.cmd18
1 files changed, 18 insertions, 0 deletions
diff --git a/packman/windows/packman.cmd b/packman/windows/packman.cmd
new file mode 100644
index 0000000..e768674
--- /dev/null
+++ b/packman/windows/packman.cmd
@@ -0,0 +1,18 @@
+@echo off
+:: You can remove the call below if you do your own manual configuration of the dev machines
+call %~dp0\configure\configure_s3.bat
+:: Everything below is mandatory
+if not defined PM_PYTHON goto :PYTHON_ENV_ERROR
+if not defined PM_MODULE goto :MODULE_ENV_ERROR
+
+%PM_PYTHON% %PM_MODULE% %*
+goto :END
+
+:PYTHON_ENV_ERROR
+echo User environment variable PM_PYTHON is not set! Please configure machine for packman or call configure.bat.
+goto :END
+
+:MODULE_ENV_ERROR
+echo User environment variable PM_MODULE is not set! Please configure machine for packman or call configure.bat.
+
+:END