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:
16 #-------------------------------------------------------------------
17 #Add this *.cmake file to our source tree
18 #-------------------------------------------------------------------
20 #Make sure all the output from all projects will go in one place
21 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
22 #Visual Studio IDE folders
23 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$")
24 source_group(Includes REGULAR_EXPRESSION ".+\\.h$")
25 source_group(Def REGULAR_EXPRESSION ".+\\.def$")
26 #-------------------------------------------------------------------
30 #-------------------------------------------------------------------
32 #-------------------------------------------------------------------
33 set (sourcepath ../sfsrv/)
40 set (sourcepath ../sfile/)
42 sf_amh.cpp sf_dat.cpp sf_debug.cpp sf_dir.cpp
43 sf_drv.cpp sf_file.cpp sf_fmt.cpp
44 sf_ldr.cpp sf_main.cpp sf_nbs.cpp sf_ses.cpp
45 sf_svr.cpp sf_sys.cpp sf_utl.cpp sf_mnt.cpp
46 sf_raw.cpp sf_prel.cpp sf_disk.cpp
47 sf_request.cpp sf_ops.cpp sf_notify.cpp
48 sf_thread.cpp sf_local.cpp sf_obj.cpp
49 sf_ext.cpp sf_hash.cpp
50 sf_plugin.cpp sf_plugin_ops.cpp sf_plugin_man.cpp
52 sf_cache_man.cpp sf_cache_client.cpp
54 sf_memory_man.cpp sf_memory_client.cpp
56 sf_notifier_handlers.cpp
57 #ifdef SYMBIAN_F32_ENHANCED_CHANGE_NOTIFICATION
58 #sf_pool.cpp sf_notifier.cpp
64 #Guessing our entry point
65 set (sourcepath ../../../kernel/eka/euser/epoc/win32/)
71 set (sourcepath ../bwins/)
72 add_source(efileu.def)
73 #-------------------------------------------------------------------
76 #-------------------------------------------------------------------
77 #Define our source and target
78 #-------------------------------------------------------------------
80 add_library(efile SHARED ${source} efile_uid.cpp)
81 set_target_properties(efile PROPERTIES SUFFIX ".exe")
82 set_target_properties(efile PROPERTIES LINK_FLAGS /ENTRY:_Win32DllMain)
83 #add_executable(efile WIN32 ${source} efile_uid.cpp)
84 target_link_libraries( efile
85 efsrv euser hal btracec emulator
88 #-------------------------------------------------------------------
91 #-------------------------------------------------------------------
92 #Fix up include directories
93 #-------------------------------------------------------------------
94 #include_directories(../../include/nkern)
95 #include_directories(../../include/nkern/win32)
96 #include_directories(../../include/memmodel/emul)
97 #include_directories(../../include/kernel/win32)
98 system_include(/epoc32/include)
99 system_include(/epoc32/include/platform)
100 user_include(../sfsrv)
101 user_include(../ftrace)
104 user_include(../../../kernel/eka/include)
105 #-------------------------------------------------------------------
108 #-------------------------------------------------------------------
109 #Fix up compiler defines
110 #-------------------------------------------------------------------
111 add_define(SYMBIAN_TRACE_SYSTEM_INCLUDE)
112 #add_define(SYMBIAN_F32_ENHANCED_CHANGE_NOTIFICATION)
113 #add_define(__EXPORT_MEMCPY__)
114 #add_define(__MEMMODEL_EMUL_SINGLE_HOST_PROCESS__)
115 #add_define(__IN_KERNEL__)
116 #add_define(__KERNEL_MODE__)
117 #-------------------------------------------------------------------