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