-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathQuickFAST.mpc
More file actions
82 lines (77 loc) · 2.08 KB
/
Copy pathQuickFAST.mpc
File metadata and controls
82 lines (77 loc) · 2.08 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Copyright (c) 2009, Object Computing, Inc.
// All rights reserved.
// See the file license.txt for licensing information.
//////////////////////////////
// Build the QuickFAST library
project(*) : boost_base, boost_filesystem, boost_system, boost_thread {
sharedname = QuickFAST
dynamicflags += QUICKFAST_BUILD_DLL
includes += $(QUICKFAST_ROOT)/src
includes += $(XERCES_INCLUDE)
libpaths += $(XERCES_LIBPATH)
libs += $(XERCES_LIBNAME)
pch_header = Common/QuickFASTPch.h
pch_source = Common/QuickFASTPch.cpp
Source_Files {
Application
Codecs
Common
Communication
Messages
}
Header_Files {
Application
Codecs
Common
Communication
Messages
}
specific(!vc8, !vc9) {
libout = $(QUICKFAST_ROOT)/lib
}
specific(vc8, vc9) {
Release::libout = $(QUICKFAST_ROOT)/Output/Release
Debug::libout = $(QUICKFAST_ROOT)/Output/Debug
macros += BOOST_DATE_TIME_NO_LIB BOOST_REGEX_NO_LIB
}
specific(make) {
// Enable full optimization on gcc/linux
Release::genflags += -O3
}
specific(vc8) { // vc9 doesn't need this
macros += _WIN32_WINNT=0x0501
}
}
////////////////////////////
// Build the QuickFAST tests
project(*tests) : boost_unit_test_framework, boost_base, boost_filesystem, boost_system, boost_thread {
exename = QuickFASTTest
includes += $(QUICKFAST_ROOT)/src
specific(!vc8, !vc9) {
libpaths += $(QUICKFAST_ROOT)/lib
exeout = $(QUICKFAST_ROOT)/bin
}
specific(vc8, vc9) {
Release::exeout = $(QUICKFAST_ROOT)/Output/Release
Debug::exeout = $(QUICKFAST_ROOT)/Output/Debug
Release::libpaths += $(QUICKFAST_ROOT)/Output/Release
Debug::libpaths += $(QUICKFAST_ROOT)/Output/Debug
macros += BOOST_DATE_TIME_NO_LIB BOOST_REGEX_NO_LIB
}
specific(vc8) { // vc9 doesn't need this
macros += _WIN32_WINNT=0x0501
}
libpaths += $(XERCES_LIBPATH)
libs += QuickFAST
libs += $(XERCES_LIBNAME)
after += QuickFAST
macros += BOOST_TEST_DYN_LINK
pch_header = Common/QuickFASTPch.h
pch_source = Common/QuickFASTPch.cpp
Source_Files {
Tests
}
Header_Files {
Tests
}
}