os/kernelhwsrv/kernel/eka/euser/scppnwdl_kern.cmake
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
parent 0 bde4ae8d615e
permissions -rw-r--r--
Update contrib.
     1 # Copyright (c) 2009 Stéphane Lenclud.
     2 # All rights reserved.
     3 # This component and the accompanying materials are made available
     4 # under the terms of the License "Eclipse Public License v1.0"
     5 # which accompanies this distribution, and is available
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 #
     8 # Initial Contributors:
     9 # Stéphane Lenclud.
    10 #
    11 
    12 push_target(scppnwdl_kern)
    13 
    14 #-------------------------------------------------------------------
    15 #Add current file to our source tree
    16 add_cmake_source()
    17 #Make sure all the output from all projects will go in one place
    18 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
    19 #Visual Studio IDE folders
    20 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$")
    21 source_group(Includes REGULAR_EXPRESSION ".+\\.h$") 	
    22 source_group(Def REGULAR_EXPRESSION ".+\\.def$") 	
    23 #-------------------------------------------------------------------
    24 
    25 ### SCPPNWDL_KERN: used by kernel. It contains new operators override.
    26 #To be linked by kernel
    27 get_source(source)
    28 add_library (scppnwdl_kern STATIC ${source} ../euser/epoc/win32/scppnwdl_kern.cpp)
    29 add_define(__EXPORT_MEMCPY__)
    30 add_define(__MEMMODEL_EMUL_SINGLE_HOST_PROCESS__)				
    31 add_define(__IN_KERNEL__)
    32 add_define(__KERNEL_MODE__)
    33 
    34 
    35 pop_target(scppnwdl_kern)
    36 
    37 
    38 
    39