Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components. bug235_bringup_0
authorMatt Plumtree <matt.plumtree@nokia.com>
Thu, 16 Sep 2010 10:58:58 +0100
branchbug235_bringup_0
changeset 21 f912a08d3c3a
parent 20 d2d6724aef32
child 22 b801ed730c0a
Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
hostsupport/hostthreadadapter/CMakeLists.txt
hostsupport/hostthreadadapter/src/platformthreading.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hostsupport/hostthreadadapter/CMakeLists.txt	Thu Sep 16 10:58:58 2010 +0100
@@ -0,0 +1,33 @@
+# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http:#www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:
+# CMake meta build file for hostthreadadapter
+
+set(HTA_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
+set(HTA_INC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/inc)
+
+set(HTA_SRC_FILES
+    ${HTA_INC_DIR}/hostthreadadapter.h
+    ${HTA_INC_DIR}/platformthreading.h
+    ${HTA_INC_DIR}/platformtypes.h
+
+    ${HTA_SRC_DIR}/platformthreading.cpp
+  )
+
+include_directories(
+  ${HTA_INC_DIR}
+  )
+
+link_directories(${GLOBAL_LIB_DIR})
+
+add_library(hostthreadadapter STATIC ${HTA_SRC_FILES})
--- a/hostsupport/hostthreadadapter/src/platformthreading.cpp	Thu Sep 16 09:43:14 2010 +0100
+++ b/hostsupport/hostthreadadapter/src/platformthreading.cpp	Thu Sep 16 10:58:58 2010 +0100
@@ -13,7 +13,7 @@
 // Description:
 // Cross platform threading support library
 
-#include "platformthreading.h"
+#include "hostthreadadapter.h"
 
 #ifdef WIN32
 #include <windows.h>