Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add support for Google Test Framework
Add support for using out-of-tree copy of gtest by using the --with-gtest=<path> configure flag, where <path> is the path to the gtest source directory. The gtest libs will be compiled and copied into the working tree. JIRA: AXIS2C-1691
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,14 @@ | ||
|
||
noinst_LIBRARIES = libgtest.a libgtest_main.a | ||
|
||
libgtest_a_SOURCES = $(GTEST_DIR)/src/gtest-all.cc | ||
libgtest_a_CPPFLAGS = -I$(GTEST_DIR)/include -I$(GTEST_DIR) | ||
libgtest_a_CXXFLAGS = -g -Wall -Wextra | ||
libgtest_a_LDFLAGS = -pthread | ||
|
||
libgtest_main_a_SOURCES = $(GTEST_DIR)/src/gtest_main.cc | ||
libgtest_main_CPPFLAGS = -I$(GTEST_DIR)/include -I$(GTEST_DIR) | ||
libgtest_main_a_CXXFLAGS = -g -Wall -Wextra | ||
libgtest_main_LDFLAGS = -pthread | ||
libgtest_main_a_LIBADD = libgtest.a | ||
|