diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-03-08 14:00:04 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-03-16 15:23:37 -0700 |
commit | d02b5095dbe69b695034242a978c489aaef61109 (patch) | |
tree | 0c58e9ae0b9f5ee350532cf1259211fd452d34af | |
parent | 5afddf4681d6ce651164c5486a15b41a0b098ac4 (diff) |
Provide meta-source file xorg-gtest-all.cpp
This will make compiling the project each time it is used much easier.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-By: Christopher Halse Rogers <christopher.halse.rogers@canonical.com>
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/xorg-gtest-all.cpp | 34 |
2 files changed, 35 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index bfe1b16..e12e772 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,10 +27,7 @@ lib_LTLIBRARIES = libxorg-gtest.la libxorg-gtest_main.la AM_CXXFLAGS = -I$(top_srcdir)/include $(XSERVER_CFLAGS) $(BASE_CXXFLAGS) -libxorg_gtest_la_SOURCES = \ - environment.cpp \ - process.cpp \ - test.cpp +libxorg_gtest_la_SOURCES = xorg-gtest-all.cpp libxorg_gtest_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ diff --git a/src/xorg-gtest-all.cpp b/src/xorg-gtest-all.cpp new file mode 100644 index 0000000..fab6425 --- /dev/null +++ b/src/xorg-gtest-all.cpp @@ -0,0 +1,34 @@ +/******************************************************************************* + * + * X testing environment - Google Test environment feat. dummy x server + * + * Copyright (C) 2011, 2012 Canonical Ltd. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + ******************************************************************************/ + +#include "src/environment.cpp" +#include "src/process.cpp" +#include "src/test.cpp" + +#ifdef HAVE_EVEMU +#include "src/device.cpp" +#endif |