Skip to content

Commit

Permalink
Fix bug in Windows build; examples use include.pri to source library …
Browse files Browse the repository at this point in the history
…(PROPMAN-18)
  • Loading branch information
bweir committed Dec 3, 2015
1 parent 64e80ee commit 82bbf85
Show file tree
Hide file tree
Showing 23 changed files with 10 additions and 20 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
- qmake -v

build_script:
- qmake PREFIX=$(get-location)/%PROJECTNAME% -r
- qmake PREFIX=%cd%/%PROJECTNAME% -r
- mingw32-make
- mingw32-make install
- jar -cMf %PROJECTNAME%.zip %PROJECTNAME%
Expand Down
2 changes: 1 addition & 1 deletion common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ TOP_PWD = $$PWD
error("PropellerIDE requires Qt5.2 or greater")
}

message(common.pri: $$TOP_PWD)
#message(common.pri: $$TOP_PWD)
16 changes: 0 additions & 16 deletions example/examples.pri

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions examples/examples.pri
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include(../common.pri)
include(../include.pri)

TEMPLATE = app
CONFIG += console
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion include.pri
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ win32-msvc* {
PRE_TARGETDEPS += $$TOP_PWD/lib/libpropellermanager.a
}

message(include.pri: $$TOP_PWD)
#message(include.pri: $$TOP_PWD)
3 changes: 2 additions & 1 deletion include/include.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ include(../common.pri)
TEMPLATE = aux

target.path = $$PREFIX/include
target.files = $$files($$TOP_PWD/include/*)
target.files += $$files($$TOP_PWD/include/*)
target.files -= $$TOP_PWD/include/include.pro
INSTALLS += target

0 comments on commit 82bbf85

Please sign in to comment.