2023-01-11 15:27:30 +00:00
|
|
|
|
2016-02-23 22:19:30 +00:00
|
|
|
TRICK_CFLAGS += -I./models
|
2023-01-11 15:27:30 +00:00
|
|
|
TRICK_CXXFLAGS += -I./models
|
2016-02-23 22:19:30 +00:00
|
|
|
|
2022-12-05 21:24:20 +00:00
|
|
|
all: test_client
|
|
|
|
clean: clean_test_client
|
|
|
|
|
2023-01-11 15:27:30 +00:00
|
|
|
TEST_CLIENT_LIBS += -L${GTEST_HOME}/lib64 -L${GTEST_HOME}/lib -lgtest -lgtest_main -lpthread -L${TRICK_LIB_DIR} -ltrick_var_binary_parser
|
2022-12-05 21:24:20 +00:00
|
|
|
|
2023-01-11 15:27:30 +00:00
|
|
|
test_client: models/test_client/test_client.cpp
|
2023-01-16 21:54:23 +00:00
|
|
|
cd models/test_client; $(TRICK_CXX) test_client.cpp -o test_client $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -I$(TRICK_HOME)/include $(TEST_CLIENT_LIBS) -std=c++11
|
2022-12-05 21:24:20 +00:00
|
|
|
|
|
|
|
clean_test_client:
|
2023-01-11 15:27:30 +00:00
|
|
|
rm -f models/test_client/test_client
|