Skip to content

Commit df61bf0

Browse files
committed
Configure scripts
1 parent ee50877 commit df61bf0

File tree

8 files changed

+99
-0
lines changed

8 files changed

+99
-0
lines changed

AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
Authors

ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
We don't keep a ChangeLog. Instead, check the revision on Github:
3+
https://github.com/cpputest/cpputest_simulated_gmock

Makefile.am

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
ACLOCAL_AMFLAGS = -I m4
3+
4+
CPPUTEST_TESTS = CppUTestSimulatedGMockTests
5+
6+
lib_LIBRARIES = lib/libCppUSimulatedGMock.a
7+
check_PROGRAMS = $(CPPUTEST_TESTS)
8+
9+
TESTS = $(check_PROGRAMS)
10+
11+
pkgconfigdir = $(libdir)/pkgconfig
12+
pkgconfig_DATA = cpputest_simulated_gmock.pc
13+
14+
EXTRA_DIST = \
15+
cpputest_simulated_gmock.pc.in \
16+
$(ALL_FILES_IN_GIT)
17+
18+
lib_libCppUSimulatedGMock_a_SOURCES = \
19+
src/GTest.cpp
20+

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
You can find the main NEWS at:
3+
https://github.com/cpputest/cpputest_simulated_gmock

README

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
Please see the README.md. This file exists to be compliant to GNU coding standards.
3+

configure.ac

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
AC_PREREQ([2.68])
3+
AC_INIT([CppUTestSimulatedGMock], [0.2], [https://github.com/cpputest/cpputest_simulated_gmock])
4+
AM_INIT_AUTOMAKE
5+
AC_CONFIG_SRCDIR([src/GTest.cpp])
6+
AC_CONFIG_HEADERS([config.h])
7+
AC_CONFIG_FILES([cpputest_simulated_gmock.pc])
8+
AC_CONFIG_MACRO_DIR([m4])
9+
10+
AC_CANONICAL_HOST
11+
AM_MAINTAINER_MODE([enable])
12+
13+
AC_PROG_CC
14+
AC_PROG_CPP
15+
AC_PROG_CXX
16+
AC_PROG_LN_S
17+
AC_PROG_MAKE_SET
18+
AM_PROG_CC_C_O
19+
AM_SILENT_RULES
20+
21+
AC_CHECK_HEADERS([stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h])
22+
23+
AC_C_INLINE
24+
AC_TYPE_INT16_T
25+
AC_TYPE_INT32_T
26+
AC_TYPE_INT64_T
27+
AC_TYPE_INT8_T
28+
AC_TYPE_PID_T
29+
AC_TYPE_SIZE_T
30+
AC_TYPE_UINT16_T
31+
AC_TYPE_UINT32_T
32+
AC_TYPE_UINT64_T
33+
AC_TYPE_UINT8_T
34+
35+
# Checks for library functions.
36+
AC_FUNC_MALLOC
37+
AC_FUNC_REALLOC
38+
AC_CHECK_FUNCS([gettimeofday memset strstr])
39+
40+
LT_INIT
41+
AC_CONFIG_FILES([Makefile])
42+
AC_OUTPUT
43+
44+
echo \
45+
"----------------------------------------------------------------
46+
47+
${PACKAGE_NAME} Version ${PACKAGE_VERSION}
48+
49+
Current compiler options:
50+
CC: ${CC}
51+
CXX: ${CXX}
52+
LD: ${LD}
53+
54+
----------------------------------------------------------------"

cpputest_simulated_gmock.pc.in

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
prefix=@prefix@
2+
exec_prefix=@exec_prefix@
3+
libdir=@libdir@
4+
includedir=@includedir@
5+
6+
Name: CppUtestSimulatedGMock
7+
URL: https://github.com/cpputest/cpputest_simulated_gmock
8+
Description: Simulated GMock for using with CppUTest
9+
Version: @PACKAGE_VERSION@
10+
Cflags: -I${includedir}
11+
Libs: -L${libdir}

src/GTest.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
extern int totallyDummySymbolToNotCauseAnyLinkerWarningsAboutEmptyCompilationUnits;
3+
int totallyDummySymbolToNotCauseAnyLinkerWarningsAboutEmptyCompilationUnits = 0;

0 commit comments

Comments
 (0)