File: run-example.bat.cmake

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (8 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
set PATH=%~p0;%PATH%
set OLDPWD=%CD%
REM Required until wthttp accepts a "--approot path" parameter
cd ..\lib\Wt\examples\@EXAMPLESUBDIR@
set DOCROOT=%CD%

%~p0\..\lib\Wt\examples\@EXAMPLESUBDIR@\@EXAMPLENAME@.wt  --docroot %DOCROOT% --http-port 8080 --http-addr 0.0.0.0 %*
cd %OLDPWD%