Merge pull request #8 from srazi/master

Fix Windows CI and export symbols
This commit is contained in:
Jan W. Krieger 2018-12-29 21:36:06 +01:00 committed by GitHub
commit a94c2a0631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 8 deletions

View File

@ -50,20 +50,24 @@ build_script:
- mkdir build
- cd build
- echo "Call QMake..."
- qmake.exe ..\JKQtPlotterBuildAllExamples.pro
- qmake.exe CONFIG+=%CONFIGURATION% ..\JKQtPlotterBuildAllExamples.pro
- echo "Build..."
- call %MAKETOOL%
- cd ..
artifacts:
- path: build\lib\release\*.a
name: lib %QTVER%%QTABI%
- path: build\lib\release\*.lib
name: lib %QTVER%%QTABI%
- path: build\lib\release\*.dll
- path: build\staticlib\**\*.a
name: staticlib %QTVER%%QTABI%
- path: build\sharedlib\**\*.a
name: sharedlib %QTVER%%QTABI%
- path: build\staticlib\**\*.lib
name: staticlib %QTVER%%QTABI%
- path: build\sharedlib\**\*.lib
name: sharedlib %QTVER%%QTABI%
- path: build\sharedlib\**\*.dll
name: dll %QTVER%%QTABI%
- path: build\test\**\*.exe
name: Test %QTVER%%QTABI%
- path: build\examples\**\*.exe
name: Examples %QTVER%%QTABI%
# # remote desktop connection on init

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtfastplotterlib_debug
TEMPLATE = lib
CONFIG+=dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtfastplotter.pri)

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtmathtextlib_debug
TEMPLATE = lib
CONFIG+=dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtmathtext.pri)

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtplotterlib_debug
TEMPLATE = lib
CONFIG += dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtplotter.pri)