summaryrefslogtreecommitdiff
path: root/shortcuts
diff options
authorJussi Pakkanen <jussi.pakkanen@canonical.com>2012-12-18 15:59:03 +0200
committerJussi Pakkanen <jussi.pakkanen@canonical.com>2012-12-18 15:59:03 +0200
commit6951e1de4c5d14648e10e2f380f05c44c8b31bdc (patch)
tree73d4ec21a5ec6b8c49fbe8f4cdce8b7302f61400 /shortcuts
parent80c22a25627e69eb049226320f221b4c05940d5f (diff)
Enabled pch for shortcuts-lib.
(bzr r2998.2.7)
Diffstat (limited to 'shortcuts')
-rw-r--r--shortcuts/CMakeLists.txt1
-rw-r--r--shortcuts/pch/shortcuts_pch.hh32
2 files changed, 33 insertions, 0 deletions
diff --git a/shortcuts/CMakeLists.txt b/shortcuts/CMakeLists.txt
index 164755f9a..2d39dee4f 100644
--- a/shortcuts/CMakeLists.txt
+++ b/shortcuts/CMakeLists.txt
@@ -35,6 +35,7 @@ set (SHORTCUTS_SOURCES
add_library (shortcuts-lib STATIC ${SHORTCUTS_SOURCES})
add_dependencies (shortcuts-lib unity-core-${UNITY_API_VERSION} unity-shared)
+add_pch(pch/shortcuts_pch.hh shortcuts-lib)
#
# Standalone variant
diff --git a/shortcuts/pch/shortcuts_pch.hh b/shortcuts/pch/shortcuts_pch.hh
new file mode 100644
index 000000000..67e6f1fd5
--- /dev/null
+++ b/shortcuts/pch/shortcuts_pch.hh
@@ -0,0 +1,32 @@
+// -*- 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 <map>
+#include <vector>
+
+#include <Nux/Nux.h>
+#include <UnityCore/GLibSource.h>
+#include <UnityCore/GLibWrapper.h>
+#include <UnityCore/Variant.h>