Skip to content

Commit

Permalink
qmake CONFIG+=NO_TESTS to skip building tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chchwy committed Aug 5, 2020
1 parent 89674f5 commit f949445
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pencil2d.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@

TEMPLATE = subdirs

SUBDIRS = \ # sub-project names
core_lib \
app \
tests

# build the project sequentially as listed in SUBDIRS !
CONFIG += ordered

# where to find the sub projects - give the folders
SUBDIRS += core_lib
core_lib.subdir = core_lib
app.subdir = app
tests.subdir = tests

# what subproject depends on others
app.depends = core_lib
tests.depends = core_lib
SUBDIRS += app
app.subdir = app
app.depends = core_lib

SUBDIRS += tests
tests.subdir = tests
tests.depends = core_lib

NO_TESTS {
SUBDIRS -= tests
}

TRANSLATIONS += translations/pencil.ts \
translations/pencil_ar.ts \
Expand Down Expand Up @@ -48,4 +49,3 @@ TRANSLATIONS += translations/pencil.ts \
translations/pencil_zh_CN.ts \
translations/pencil_zh_TW.ts

macx: LIBS += -framework AppKit

0 comments on commit f949445

Please sign in to comment.