From db9ae56fb2bdd9ed840c422a1dfeb85489d11429 Mon Sep 17 00:00:00 2001 From: Syping Date: Wed, 25 Sep 2019 15:25:48 +0200 Subject: [PATCH] by default only build libraries --- .gitlab-ci.yml | 2 +- src/src.pro | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fe9fa3..a0f97f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ Windows Portable: script: - mkdir -p build - cd build - - qmake-static ../luaengineapp.pro + - qmake-static CONFIG+=WITH_LUAENGINEAPP CONFIG+=WITH_LUAENGINERUN ../luaengineapp.pro - make -j4 - cp -Rf src/luaengineapp/release/luaengineapp.exe ../ - cp -Rf src/luaenginerun/release/luaengine.exe ../ diff --git a/src/src.pro b/src/src.pro index ebacd52..9575fce 100644 --- a/src/src.pro +++ b/src/src.pro @@ -19,6 +19,7 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS += luaengine \ - luaenginegui \ - luaengineapp \ - luaenginerun + luaenginegui + +CONFIG(WITH_LUAENGINEAPP): SUBDIRS += luaengineapp +CONFIG(WITH_LUAENGINERUN): SUBDIRS += luaenginerun