mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-14 11:29:33 +00:00
make installwin.bat regenerate crypto.prf at install time, mainly for consistency with qca binary packages svn path=/trunk/kdesupport/qca/; revision=958901
18 lines
408 B
Batchfile
18 lines
408 B
Batchfile
@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
|