summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd')
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd14
1 files changed, 14 insertions, 0 deletions
diff --git a/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd
new file mode 100644
index 0000000000..8aa6f24f65
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/samples/Calculator/Client/runclient.cmd
@@ -0,0 +1,14 @@
+@echo off
+rem Runs the client after setting the SCA environment variables to use the
+rem CalculatorSubsystem
+setlocal
+set SCA4CPP_SYSTEM_ROOT=%~d0%~p0\..\..\runtime
+
+rem Only need to specify the subsystem (and not the moduleComponent as well) because
+rem there is only one moduleComponent in the subsystem - it is a very simple sample.
+set SCA4CPP_DEFAULT_MODULE=CalculatorSubsystem
+
+rem Run the client
+%~d0%~p0\debug\Client.exe %*
+
+endlocal \ No newline at end of file