25 lines
733 B
Plaintext
25 lines
733 B
Plaintext
Define
|
|
|
|
EPICS_BASE
|
|
PVDATA_HOME
|
|
|
|
variables that points to EPICS base and pvDataCPP installation directory (includes and libraries) in configure/RELEASE.local
|
|
|
|
Google C++ Testing Framework
|
|
----------------------------
|
|
Download:
|
|
http://code.google.com/p/googletest/
|
|
|
|
Extract, go to its root directory and in run:
|
|
export GTEST_DIR=$PWD
|
|
g++ -g -O3 -I${GTEST_DIR}/include -I${GTEST_DIR} -c ${GTEST_DIR}/src/gtest-all.cc
|
|
g++ -g -O3 -I${GTEST_DIR}/include -I${GTEST_DIR} -c ${GTEST_DIR}/src/gtest_main.cc
|
|
ar -rv libgtest_main.a gtest_main.o gtest-all.o
|
|
|
|
# INSTALL is where you put build artifacts
|
|
|
|
mkdir -p $INSTALL/gtest/lib/$EPICS_HOST_ARCH
|
|
cp -r ${GTEST_DIR}/include $INSTALL/gtest
|
|
cp libgtest_main.a $INSTALL/gtest/lib/$EPICS_HOST_ARCH
|
|
|