forked from qt-creator/qt-creator
static: List shared files in project tree
Change-Id: Idd4fcb2c6ad8c9ded449bf25c52f91b1fce4d5d5 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
5f03e0260b
commit
5d1dc4b0cd
@@ -41,16 +41,15 @@ DATA_DIRS = \
|
||||
glsl
|
||||
macx: DATA_DIRS += scripts
|
||||
|
||||
for(data_dir, DATA_DIRS) {
|
||||
files = $$files($$PWD/$$data_dir/*, true)
|
||||
win32:files ~= s|\\\\|/|g
|
||||
for(file, files):!contains(file, ".*/Info\\.plist\\.in$"):!exists($$file/*):FILES += $$file
|
||||
}
|
||||
OTHER_FILES += $$FILES
|
||||
|
||||
# conditionally deployed data
|
||||
!isEmpty(copydata) {
|
||||
|
||||
for(data_dir, DATA_DIRS) {
|
||||
files = $$files($$PWD/$$data_dir/*, true)
|
||||
win32:files ~= s|\\\\|/|g
|
||||
for(file, files):!contains(file, ".*/Info\\.plist\\.in$"):!exists($$file/*):FILES += $$file
|
||||
}
|
||||
|
||||
OTHER_FILES += $$FILES
|
||||
copy2build.input = FILES
|
||||
copy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcDir}
|
||||
isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS
|
||||
|
Reference in New Issue
Block a user