diff --git a/Jenkinsfile b/Jenkinsfile index 5baa1ce..7619ddf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,8 +17,8 @@ qmake''' stage('Make') { steps { sh '''cd xybrid -make''' +make -j 17''' } } } -} \ No newline at end of file +} diff --git a/xybrid/xybrid.pro b/xybrid/xybrid.pro index 7dfd6fb..0947b78 100644 --- a/xybrid/xybrid.pro +++ b/xybrid/xybrid.pro @@ -31,11 +31,9 @@ CONFIG += c++17 QMAKE_CXXFLAGS_DEBUG += -Og # automatically build file lists -SOURCES += $$files(*.cpp, true) \ - util/macos_urlhelper.mm +SOURCES += $$files(*.cpp, true) HEADERS += $$files(*.h, true) \ - $$files(*.hpp, true) \ - util/macos_urlhelper.h + $$files(*.hpp, true) FORMS += $$files(*.ui, true) RESOURCES += res/resources.qrc @@ -52,7 +50,8 @@ macx: { LIBS += -L/usr/local/Cellar/boost/1.70.0/lib/ -lboost_math_tr1 LIBS += -framework OpenGL LIBS += -framework Foundation - OBJECTIVE_SOURCES += util/macos_urlhelper.h + SOURCES += util/macos_urlhelper.mm + HEADERS += util/macos_urlhelper.h QMAKE_CXXFLAGS += -I/usr/local/Cellar/boost/1.70.0/include/ }