diff options
| author | Jussi Pakkanen <jussi.pakkanen@canonical.com> | 2012-12-19 15:30:32 +0000 |
|---|---|---|
| committer | Tarmac <> | 2012-12-19 15:30:32 +0000 |
| commit | 76e8006820a1216cb877c9ed0cc1026a558371e5 (patch) | |
| tree | 760fd364c0a2996cbcf7854a5be924ca20eef93d /unity-shared | |
| parent | 159d6ca00a57bc6c322a748eb17b09a3ebf9d8c9 (diff) | |
| parent | 6951e1de4c5d14648e10e2f380f05c44c8b31bdc (diff) | |
Add support for precompiled headers.
Approved by Stephen M. Webb. (bzr r3002)
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 b4df6d020..54716d9f2 100644 --- a/unity-shared/CMakeLists.txt +++ b/unity-shared/CMakeLists.txt @@ -84,6 +84,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> |
