Add DLL building support to autotools scripts
[deb_shairplay.git] / AirTV-Qt / qtsingleapplication / configure.bat
CommitLineData
2340bcd3
JVH
1@echo off\r
2\r
3rem\r
4rem "Main"\r
5rem\r
6\r
7if not "%1"=="" (\r
8 if not "%1"=="-library" (\r
9 call :PrintUsage\r
10 goto EOF\r
11 )\r
12)\r
13\r
14if exist config.pri. del config.pri\r
15if "%1"=="-library" (\r
16 echo Configuring to build this component as a dynamic library.\r
17 echo SOLUTIONS_LIBRARY = yes > config.pri\r
18)\r
19\r
20echo .\r
21echo This component is now configured.\r
22echo .\r
23echo To build the component library (if requested) and example(s),\r
24echo run qmake and your make or nmake command.\r
25echo .\r
26echo To remove or reconfigure, run make (nmake) distclean.\r
27echo .\r
28\r
29:PrintUsage\r
30echo Usage: configure.bat [-library]\r
31echo .\r
32echo -library: Build the component as a dynamic library (DLL). Default is to\r
33echo include the component source directly in the application.\r
34echo A DLL may be preferable for technical or licensing (LGPL) reasons.\r
35echo .\r
36goto EOF\r
37\r
38\r
39:EOF\r