##// END OF EJS Templates
Adds win32 command condition to src.pro
Michal Klocek -
r627:110f905bcf35
parent child
Show More
@@ -80,7 +80,11 for(file, PUBLIC_HEADERS) {
80 class = $$split(class,' ')
80 class = $$split(class,' ')
81 class = $$replace(class,' ','')
81 class = $$replace(class,' ','')
82 class = $$member(class,0)
82 class = $$member(class,0)
83 command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class"
83 win32:{
84 command = "echo $${LITERAL_HASH}include \"$$name\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class"
85 }else{
86 command = "echo \"$${LITERAL_HASH}include \\\"$$name\\\"\" > $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class"
87 }
84 PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class
88 PUBLIC_QT_HEADERS += $$CHART_BUILD_PUBLIC_HEADER_DIR/$$class
85 system($$command)
89 system($$command)
86 }
90 }
General Comments 0
You need to be logged in to leave comments. Login now