Skip to content

Commit 9bf8d0a

Browse files
committed
library links
1 parent 82aca01 commit 9bf8d0a

3 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
-derivedDataPath "${RUNNER_TEMP}/Build/DerivedData"
6363
HEADER_SEARCH_PATHS="./external/libpqxx/include/pqxx/internal ./external/libpqxx/include/ ./external/libpqxx/build/include/ ./external/"
6464
LIBRARY_SEARCH_PATHS="./external/libpqxx/src/ ./external/libpqxx/build/src/"
65-
OTHER_LDFLAGS="-L./external/libpqxx/build/src -lpqxx -lpq -L$(brew --prefix pkgconf)/lib -L$(brew --prefix pkgconf)/lib/pkgconfig -L$(brew --prefix postgresql@14)/lib/postgresql@14 -L$(brew --prefix postgresql@14)/lib/postgresql@14/pgxs -L$(brew --prefix postgresql@14)/lib/postgresql@14/pkgconfig"
65+
OTHER_LDFLAGS="-L./external/libpqxx/build/src -lpqxx -lpq -L$(brew --prefix pkgconf)/lib -L$(brew --prefix pkgconf)/lib/pkgconfig -L$(brew --prefix postgresql@18)/lib/postgresql -L$(brew --prefix postgresql@18)/lib/postgresql/pgxs -L$(brew --prefix postgresql@18)/lib/postgresql/pkgconfig"
6666
clean build test
6767
| xcpretty -r junit && exit ${PIPESTATUS[0]}
6868
- name: Convert coverage report to sonarqube format

backtesting-engine-cpp.xcodeproj/project.pbxproj

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3785,9 +3785,8 @@
37853785
);
37863786
INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "";
37873787
LIBRARY_SEARCH_PATHS = (
3788-
"\"$(SRCROOT)/external/libpqxx/src\"",
3789-
"$(SRCROOT)/build/external/libpqxx/src",
3790-
"/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14",
3788+
"\"$(SRCROOT)/external/libpqxx/build/src\"",
3789+
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
37913790
);
37923791
OTHER_LDFLAGS = "";
37933792
OTHER_LIBTOOLFLAGS = "";
@@ -3808,9 +3807,8 @@
38083807
);
38093808
INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "";
38103809
LIBRARY_SEARCH_PATHS = (
3811-
"\"$(SRCROOT)/external/libpqxx/src\"",
3812-
"$(SRCROOT)/build/external/libpqxx/src",
3813-
"/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14",
3810+
"\"$(SRCROOT)/external/libpqxx/build/src\"",
3811+
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38143812
);
38153813
OTHER_LDFLAGS = "";
38163814
OTHER_LIBTOOLFLAGS = "";
@@ -3831,9 +3829,8 @@
38313829
"\"$(SRCROOT)/external/",
38323830
);
38333831
LIBRARY_SEARCH_PATHS = (
3834-
"\"$(SRCROOT)/external/libpqxx/src\"",
3835-
"$(PROJECT_DIR)/build/external/libpqxx/src",
3836-
"/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14",
3832+
"\"$(SRCROOT)/external/libpqxx/build/src\"",
3833+
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38373834
);
38383835
MARKETING_VERSION = 1.0;
38393836
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.tests;
@@ -3854,9 +3851,8 @@
38543851
"\"$(SRCROOT)/external/",
38553852
);
38563853
LIBRARY_SEARCH_PATHS = (
3857-
"\"$(SRCROOT)/external/libpqxx/src\"",
3858-
"$(PROJECT_DIR)/build/external/libpqxx/src",
3859-
"/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14",
3854+
"\"$(SRCROOT)/external/libpqxx/build/src\"",
3855+
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38603856
);
38613857
MARKETING_VERSION = 1.0;
38623858
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.tests;

scripts/test.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
xcodebuild \
44
-project backtesting-engine-cpp.xcodeproj \
55
-scheme tests \
6-
HEADER_SEARCH_PATHS="./external/libpqxx/include/pqxx/internal ./external/libpqxx/include/ ./external/libpqxx/build/include/ ./external/" \
7-
LIBRARY_SEARCH_PATHS="./external/libpqxx/src/ ./external/libpqxx/build/src/" \
8-
OTHER_LDFLAGS="-L./external/libpqxx/build/src -lpqxx -lpq -L/opt/homebrew/Cellar/pkgconf/2.3.0_1/lib -L/opt/homebrew/Cellar/pkgconf/2.3.0_1/lib/pkgconfig -L/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14 -L/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14/pgxs -L/opt/homebrew/Cellar/postgresql@14/14.15/lib/postgresql@14/pkgconfig" \
9-
clean build test
6+
clean build test
7+
# HEADER_SEARCH_PATHS="./external/libpqxx/include/pqxx/internal ./external/libpqxx/include/ ./external/libpqxx/build/include/ ./external/" \
8+
# LIBRARY_SEARCH_PATHS="./external/libpqxx/src/ ./external/libpqxx/build/src/" \
9+
# OTHER_LDFLAGS="-L./external/libpqxx/build/src -lpqxx -lpq -L$(brew --prefix pkgconf)/lib -L$(brew --prefix pkgconf)/lib/pkgconfig -L$(brew --prefix postgresql@18)/lib/postgresql -L$(brew --prefix postgresql@18)/lib/postgresql/pgxs -L$(brew --prefix postgresql@18)/lib/postgresql/pkgconfig" \
10+
11+
12+

0 commit comments

Comments
 (0)