Skip to content

qmake include files and bash scripts in order to build complex projects easy to handle

License

Notifications You must be signed in to change notification settings

Targoman/QBuildSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QBuildSystem

qmake include files and bash scripts in order to build complex projects easy to handle

Table of contents

Motivation

TOC Building large projects with external dependencies is complex. Qt has its build system and supports both qmake and cmake, but none are easy to be used with complex projects with multiple subprojects and external project dependencies. In order to ease the process of creating these projects, you can find all over the Targoman repository we have made some qmake pri files and shell scripts.

Sample projects

TOC Sample projects can be found in QBuildSystem-sampleLibrary and QBuildSystem-sampleApp repositories.

Features

TOC

  • supports subprojects
  • auto build of dependencies based on git submodules
  • library linking
  • versioning support
  • multiple templates for
    • application
    • libraries (static/dynamic)
    • tests
    • unittest
    • examples
  • installation
  • configuration export

Setup

TOC

  1. Add QBuildSystem as your project submodule
$ git submodule add https://github.com/Targoman/QBuildSystem.git 3rdParty/QBuildSystem
  1. Create a file named .qmake.conf at top folder of your project
$ cat <<EOF > .qmake.conf 
BASE_PROJECT_PATH=\$\$PWD
QBUILD_PATH=\$\$BASE_PROJECT_PATH/3rdParty/QBuildSystem/
EOF

Follow guides on sample projects to create your project

License

TOC

QBuildSystem has been published under the terms of Modified BSD License

About

qmake include files and bash scripts in order to build complex projects easy to handle

Resources

License

Stars

Watchers

Forks