diff options
| author | Jussi Pakkanen <jussi.pakkanen@canonical.com> | 2012-12-18 15:09:57 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@canonical.com> | 2012-12-18 15:09:57 +0200 |
| commit | 4f696dc521bcf43eade6a12008d095d7e6399de9 (patch) | |
| tree | 59ab5a9436e2edee883901b4d46dcc9582ccfee6 /unity-shared | |
| parent | 11ccbe317ea7fae1deedc9747baf36b6ba67863d (diff) | |
Added pch support to unity-shared.
(bzr r2998.2.2)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | unity-shared/pch/unity-shared_pch.hh | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/unity-shared/CMakeLists.txt b/unity-shared/CMakeLists.txt index 408a5fd0a..7f67753a1 100644 --- a/unity-shared/CMakeLists.txt +++ b/unity-shared/CMakeLists.txt @@ -83,6 +83,7 @@ endif() add_library (unity-shared STATIC ${UNITY_SHARED_SOURCES}) target_link_libraries (unity-shared ${LIBS}) add_dependencies (unity-shared unity-core-${UNITY_API_VERSION}) +add_pch(pch/unity-shared_pch.hh unity-shared) # # We also need to build compiz specific parts and standalone variants of those parts diff --git a/unity-shared/pch/unity-shared_pch.hh b/unity-shared/pch/unity-shared_pch.hh new file mode 100644 index 000000000..060dbba3c --- /dev/null +++ b/unity-shared/pch/unity-shared_pch.hh @@ -0,0 +1,33 @@ +// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*- +/* + * Copyright (C) 2012 Canonical Ltd + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Authored by: Jussi Pakkanen <jussi.pakkanen@canonical.com> + */ + +/* + * These are the precompiled header includes for UnityCore. + * Only system header files can be listed here. + */ + +#include <vector> +#include <string> +#include <map> +#include <memory> + +#include <Nux/Nux.h> +#include <sigc++/sigc++.h> +#include <boost/utility.hpp> +#include <boost/algorithm/string.hpp> |
