forked from nixiz/advanced_cpp_course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdvancedCPP.pro
More file actions
66 lines (61 loc) · 2.59 KB
/
AdvancedCPP.pro
File metadata and controls
66 lines (61 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
TEMPLATE = app
CONFIG += console c++14
CONFIG -= app_bundle
CONFIG -= qt
win32 {
DEFINES += MSBUILD
}
## VS 2012 Compiler Flag additions. all pro files should be implemented these lines
win32:CONFIG(debug, debug|release|profile): QMAKE_CXXFLAGS += /GS /W3 /Gm /Od /sdl /WX- /Zc:forScope /RTC1 /Gd /Oy- /D "_DEBUG"
else:win32:CONFIG(release, debug|release|profile): QMAKE_CXXFLAGS += /GS /GL /analyze- /Gm- /W3 /Gy /Ox /D"NDEBUG" /sdl /Gd /Oy- /Oi
else:win32:CONFIG(profile, debug|release|profile): QMAKE_CXXFLAGS += /GS /GL /analyze- /Gm- /W3 /Gy /Ox /D"NDEBUG" /sdl /Gd /Oy- /Oi
win32:CONFIG(debug, debug|release|profile): QMAKE_LFLAGS +=
else:win32:CONFIG(release, debug|release|profile): QMAKE_LFLAGS += /SAFESEH /LTCG
else:win32:CONFIG(profile, debug|release|profile): QMAKE_LFLAGS += /SAFESEH /LTCG
INCLUDEPATH += \
inc \
src/1-Inheritance \
src/2-SmartPointer \
src/3-Static \
src/4-CPUArchitecture \
src/5-Templates \
src/6-Exceptions \
src/7-CustomComparators \
src/8-Cpp11Features
SOURCES += \
main.cpp \
src/1-Inheritance/diamond_problem.cpp \
src/1-Inheritance/friend_usage.cpp \
src/1-Inheritance/inheritance_usage.cpp \
src/1-Inheritance/virtual_destructor.cpp \
src/2-SmartPointer/bonus/shared.cpp \
src/2-SmartPointer/bonus/bonus_old_style_smart_pointer.cpp \
src/2-SmartPointer/malloc_usage.cpp \
src/2-SmartPointer/shared_pointer.cpp \
src/2-SmartPointer/smart_pointer.cpp \
src/2-SmartPointer/weak_pointer.cpp \
src/3-Static/static_usage.cpp \
src/4-CPUArchitecture/cpu_cache_misses.cpp \
src/4-CPUArchitecture/branch_prediction.cpp \
src/4-CPUArchitecture/false_sharing.cpp \
src/4-CPUArchitecture/packed_data_access.cpp \
src/5-Templates/template_container.cpp \
src/5-Templates/template_crtp_usage.cpp \
src/5-Templates/template_decltype.cpp \
src/5-Templates/template_inheritance_usage.cpp \
src/5-Templates/template_mixin.cpp \
src/5-Templates/template_policies.cpp \
src/5-Templates/template_static_assert.cpp \
src/5-Templates/template_staticpolymorphism.cpp \
src/5-Templates/template_traits.cpp \
src/6-Exceptions/exception_usage.cpp \
src/7-CustomComparators/custom_comparator.cpp \
src/8-Cpp11Features/async_usage.cpp
HEADERS += \
inc/no_destruct.h \
inc/number.hpp \
inc/benchmarker.hpp \
inc/advanced_cpp_topics.h \
inc/playground_organizer.hpp \
src/2-SmartPointer/bonus/handle.h \
src/2-SmartPointer/bonus/shared.h