Subdirs.pro was adapted for all 3 platforms.

With msvc Sankore3.1.pro should be first because visual studio set first project as executable.
preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 0ba0dcc79c
commit 3e2113a13f
  1. 14
      Subdirs.pro

@ -1,5 +1,5 @@
TEMPLATE = subdirs TEMPLATE = subdirs
CONFIG += recursive CONFIG += ordered
CONFIG += debug_and_release CONFIG += debug_and_release
win32: SUB_DIR = win32 win32: SUB_DIR = win32
@ -23,11 +23,11 @@ SANKORE_PLUGINS_DIR = $$SANKORE_DIR/plugins
PLUGIN_CFF_ADAPTOR_DIR = $$SANKORE_PLUGINS_DIR/cffadaptor PLUGIN_CFF_ADAPTOR_DIR = $$SANKORE_PLUGINS_DIR/cffadaptor
PLUGIN_CFF_ADAPTOR_PRO = $$PLUGIN_CFF_ADAPTOR_DIR/UBCFFAdaptor.pro PLUGIN_CFF_ADAPTOR_PRO = $$PLUGIN_CFF_ADAPTOR_DIR/UBCFFAdaptor.pro
if(exists($$PLUGIN_CFF_ADAPTOR_DIR)){ #visoal studio sets first project as executable
SUBDIRS += $$PLUGIN_CFF_ADAPTOR_PRO contains(TEMPLATE, vcsubdirs):{
$$SANKORE_PRO.depends = $$PLUGIN_CFF_ADAPTOR_PRO SUBDIRS = $$SANKORE_PRO $$PLUGIN_CFF_ADAPTOR_PRO
} else:{
SUBDIRS = $$PLUGIN_CFF_ADAPTOR_PRO $$SANKORE_PRO
} }
SUBDIRS += $$SANKORE_PRO
recurse_target = $$SANKORE_PRO
$$SANKORE_PRO.depends = $$PLUGIN_CFF_ADAPTOR_PRO

Loading…
Cancel
Save