File: installwin.bat

package info (click to toggle)
qca2 2.0.3-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,376 kB
  • ctags: 10,445
  • sloc: cpp: 40,699; ansic: 631; perl: 241; sh: 51; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
REM install qmake feature file pointing to the current directory

if not defined QTDIR goto err
echo QCA_INCDIR = "%CD%\include" > crypto.prf
echo QCA_LIBDIR = "%CD%\lib" >> crypto.prf
type crypto.prf.in >> crypto.prf
copy crypto.prf "%QTDIR%\mkspecs\features"

echo Installed crypto.prf as a qmake feature.
goto end

:err
echo Error: QTDIR not set (example: set QTDIR=C:\Qt\4.2.3).
goto end

:end