summaryrefslogtreecommitdiff
path: root/launcher
diff options
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-12-18 15:40:10 +0200
committerJussi Pakkanen <jussi.pakkanen@canonical.com>2012-12-18 15:40:10 +0200
commit893ef9631bde944d54afa8559408dae4e3167c0d (patch)
tree371c72a0e767b6f1d2fa4de0df13c2bb52dac2f8 /launcher
parent75f1f4fe738862b7390704f97c742890911ebf0b (diff)
Enabled pch for launcher-lib.
(bzr r2998.2.4)
Diffstat (limited to 'launcher')
-rw-r--r--launcher/CMakeLists.txt1
-rw-r--r--launcher/pch/launcher_pch.hh33
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>