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 /launcher | |
| parent | 159d6ca00a57bc6c322a748eb17b09a3ebf9d8c9 (diff) | |
| parent | 6951e1de4c5d14648e10e2f380f05c44c8b31bdc (diff) | |
Add support for precompiled headers.
Approved by Stephen M. Webb. (bzr r3002)
Diffstat (limited to 'launcher')
| -rw-r--r-- | launcher/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | launcher/pch/launcher_pch.hh | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index cfb6bfb5e..b08719bc0 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -81,6 +81,7 @@ endif () add_library (launcher-lib STATIC ${LAUNCHER_SOURCES}) add_dependencies (launcher-lib unity-core-${UNITY_API_VERSION} unity-shared) target_link_libraries (launcher-lib unity-shared) +add_pch(pch/launcher_pch.hh launcher-lib) set (SWITCHER_SOURCES SwitcherController.cpp diff --git a/launcher/pch/launcher_pch.hh b/launcher/pch/launcher_pch.hh new file mode 100644 index 000000000..569390f4b --- /dev/null +++ b/launcher/pch/launcher_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 this module. + * Only system header files can be listed here. + */ + +#include <memory> + +#include <Nux/Nux.h> +#include <UnityCore/GLibSource.h> +#include <UnityCore/GLibWrapper.h> +#include <UnityCore/Variant.h> + +#include <boost/noncopyable.hpp> +#include <boost/utility.hpp> |
