os/kernelhwsrv/kernel/eka/euser/scppnwdl_kern.cmake
changeset 0 bde4ae8d615e
child 1 260cb5ec6c19
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kernel/eka/euser/scppnwdl_kern.cmake	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +# Copyright (c) 2009 Stéphane Lenclud.
     1.5 +# All rights reserved.
     1.6 +# This component and the accompanying materials are made available
     1.7 +# under the terms of the License "Eclipse Public License v1.0"
     1.8 +# which accompanies this distribution, and is available
     1.9 +# at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +#
    1.11 +# Initial Contributors:
    1.12 +# Stéphane Lenclud.
    1.13 +#
    1.14 +
    1.15 +push_target(scppnwdl_kern)
    1.16 +
    1.17 +#-------------------------------------------------------------------
    1.18 +#Add current file to our source tree
    1.19 +add_cmake_source()
    1.20 +#Make sure all the output from all projects will go in one place
    1.21 +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
    1.22 +#Visual Studio IDE folders
    1.23 +source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$")
    1.24 +source_group(Includes REGULAR_EXPRESSION ".+\\.h$") 	
    1.25 +source_group(Def REGULAR_EXPRESSION ".+\\.def$") 	
    1.26 +#-------------------------------------------------------------------
    1.27 +
    1.28 +### SCPPNWDL_KERN: used by kernel. It contains new operators override.
    1.29 +#To be linked by kernel
    1.30 +get_source(source)
    1.31 +add_library (scppnwdl_kern STATIC ${source} ../euser/epoc/win32/scppnwdl_kern.cpp)
    1.32 +add_define(__EXPORT_MEMCPY__)
    1.33 +add_define(__MEMMODEL_EMUL_SINGLE_HOST_PROCESS__)				
    1.34 +add_define(__IN_KERNEL__)
    1.35 +add_define(__KERNEL_MODE__)
    1.36 +
    1.37 +
    1.38 +pop_target(scppnwdl_kern)
    1.39 +
    1.40 +
    1.41 +
    1.42 +