Skip to content

Commit 39d66fc

Browse files
Added custom.pro which is included from VisceralFatValidation.pro
Added custom.pro to .gitignore The purpose of the custom.pro is to contain any configuration values in the pro file that are dependent on the user and should not be tracked in GitHub. The most obvious is the external libraries because the path can vary from person to person.
1 parent 550ebd5 commit 39d66fc

2 files changed

Lines changed: 4 additions & 32 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*.pro.user.*
1919
*.qbs.user
2020
*.qbs.user.*
21+
custom.pro
2122
*.moc
2223
moc_*.cpp
2324
qrc_*.cpp

VisceralFatValidation.pro

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ TEMPLATE = app
2222
CONFIG(release, debug|release): DEFINES += QT_NO_DEBUG_OUTPUT QT_MESSAGELOGCONTEXT
2323

2424
SOURCES += main.cpp\
25-
mainwindow.cpp \
25+
mainwindow.cpp \
2626
util.cpp \
2727
vertex.cpp \
2828
niftimage.cpp \
@@ -55,36 +55,7 @@ FORMS += mainwindow.ui \
5555
view_axialcoronalhires.ui \
5656
view_axialcoronallores.ui
5757

58-
DISTFILES +=
59-
60-
# Include the NIFTI files and link the dynamic libraries.
61-
# The DLL files should deploy with the application automatically
62-
INCLUDEPATH += 'D:/DevelLibs/nifticlib-2.0.0/build/include'
63-
DEPENDPATH += 'D:/DevelLibs/nifticlib-2.0.0/build/include'
64-
65-
LIBS += -LD:/DevelLibs/nifticlib-2.0.0/build/lib \
66-
-lnifticdf \
67-
-lniftiio \
68-
-lznz
69-
70-
LIBS += -LD:/DevelLibs/zlib-1.2.8/build/lib \
71-
-lzlib
72-
73-
INCLUDEPATH += 'D:/DevelLibs/opencv/build/install/include'
74-
DEPENDPATH += 'D:/DevelLibs/opencv/build/install/include'
75-
CONFIG(debug, debug|release): LIBS += -LD:/DevelLibs/opencv/build/lib/Debug \
76-
-lopencv_core310d \
77-
-lopencv_imgproc310d \
78-
-lopencv_highgui310d \
79-
-lopencv_ml310d \
80-
-lopencv_video310d
81-
82-
CONFIG(release, debug|release): LIBS += -LD:/DevelLibs/opencv/build/lib/Release \
83-
-lopencv_core310 \
84-
-lopencv_imgproc310 \
85-
-lopencv_highgui310 \
86-
-lopencv_ml310 \
87-
-lopencv_video310
88-
8958
RESOURCES += \
9059
resources.qrc
60+
61+
exists(custom.pro): include(custom.pro)

0 commit comments

Comments
 (0)