Update contrib.
1 # Copyright (c) 2009 Stéphane Lenclud.
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".
8 # Initial Contributors:
12 push_target(scppnwdl_kern)
14 #-------------------------------------------------------------------
15 #Add current file to our source tree
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 #-------------------------------------------------------------------
25 ### SCPPNWDL_KERN: used by kernel. It contains new operators override.
26 #To be linked by kernel
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__)
35 pop_target(scppnwdl_kern)