# HG changeset patch # User Matt Plumtree # Date 1284631138 -3600 # Node ID f912a08d3c3a88745072196be82a844dc7e9ff5e # Parent d2d6724aef32c3e9c02e1566ac97f2b9cf37c390 Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components. diff -r d2d6724aef32 -r f912a08d3c3a hostsupport/hostthreadadapter/CMakeLists.txt --- /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}) diff -r d2d6724aef32 -r f912a08d3c3a hostsupport/hostthreadadapter/src/platformthreading.cpp --- 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