configure 689 B

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