hostsupport/hostthreadadapter/CMakeLists.txt
author Matt Plumtree <matt.plumtree@nokia.com>
Thu, 16 Sep 2010 12:43:44 +0100
branchbug235_bringup_0
changeset 23 e70851cd9e5e
parent 21 f912a08d3c3a
child 24 a3f46bb01be2
permissions -rw-r--r--
Enable building of holdingarea code, using CMake/Microsoft Visual Studio Express, using hostthreadadapter.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     1
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     2
# All rights reserved.
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     6
# at the URL "http:#www.eclipse.org/legal/epl-v10.html".
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     7
#
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     8
# Initial Contributors:
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    10
#
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    11
# Contributors:
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    12
#
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    13
# Description:
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    14
# CMake meta build file for hostthreadadapter
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    15
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    16
set(HTA_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    17
set(HTA_INC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/inc)
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    18
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    19
set(HTA_SRC_FILES
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    20
    ${HTA_INC_DIR}/hostthreadadapter.h
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    21
    ${HTA_INC_DIR}/platformthreading.h
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    22
    ${HTA_INC_DIR}/platformtypes.h
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    23
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    24
    ${HTA_SRC_DIR}/platformthreading.cpp
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    25
  )
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    26
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    27
include_directories(
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    28
  ${HTA_INC_DIR}
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    29
  )
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    30
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    31
link_directories(${GLOBAL_LIB_DIR})
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    32
f912a08d3c3a Contribute a cmake build file for hostthreadadapter, to aid building the intermediate versions of other host components.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    33
add_library(hostthreadadapter STATIC ${HTA_SRC_FILES})