| 1 | #!/bin/sh |
| 2 | |
| 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then |
| 4 | echo "Usage: $0 [-library]" |
| 5 | echo |
| 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" |
| 7 | echo " include the component source code directly in the application." |
| 8 | echo |
| 9 | exit 0 |
| 10 | fi |
| 11 | |
| 12 | rm -f config.pri |
| 13 | if [ "x$1" = "x-library" ]; then |
| 14 | echo "Configuring to build this component as a dynamic library." |
| 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri |
| 16 | fi |
| 17 | |
| 18 | echo |
| 19 | echo "This component is now configured." |
| 20 | echo |
| 21 | echo "To build the component library (if requested) and example(s)," |
| 22 | echo "run qmake and your make command." |
| 23 | echo |
| 24 | echo "To remove or reconfigure, run make distclean." |
| 25 | echo |