Disabling Kernel build anywhere
authorStephane Lenclud <tortoisehg@lenclud.com>
Mon, 01 Feb 2010 16:59:56 +0100
branchanywhere
changeset 38 422372aa20a3
parent 28 9642313072c3
child 40 04a1b74efd48
Disabling Kernel build
kernel/eka/CMakeLists.txt
kernel/eka/euser/CMakeLists.txt
--- a/kernel/eka/CMakeLists.txt	Sat Jan 09 02:16:07 2010 +0100
+++ b/kernel/eka/CMakeLists.txt	Mon Feb 01 16:59:56 2010 +0100
@@ -33,7 +33,7 @@
 add_custom_target(genexec DEPENDS ./include/exec_enum.h ./include/exec_user.h ./include/kernel/exec_kernel.h)
 
 add_subdirectory(./euser)
-add_subdirectory(./kernel)
+#add_subdirectory(./kernel)
 
 
 
--- a/kernel/eka/euser/CMakeLists.txt	Sat Jan 09 02:16:07 2010 +0100
+++ b/kernel/eka/euser/CMakeLists.txt	Mon Feb 01 16:59:56 2010 +0100
@@ -116,7 +116,7 @@
 add_library (emulator SHARED ../kernel/win32/l_entry.cpp ../euser/epoc/win32/emulator.cpp) #Compile the KLIB target entry point which is l_entry.cpp 
 target_link_libraries(emulator kernel32) #kernel32
 #set_target_properties(emulator PROPERTIES COMPILE_FLAGS "/Zl") #No default library
-set_target_properties(emulator PROPERTIES LINK_FLAGS "/ENTRY:_Win32DllMain") #Change the entry point
+#set_target_properties(emulator PROPERTIES LINK_FLAGS "/ENTRY:_Win32DllMain") #Change the entry point
 
 ### EUSER: many user library
 add_library (euser SHARED ${source})
@@ -125,19 +125,19 @@
 
 
 ### ESTUB: not sure why need that yet
-add_library (estub STATIC ../euser/epoc/win32/uc_stub.cpp)
+#add_library (estub STATIC ../euser/epoc/win32/uc_stub.cpp)
 #set_target_properties(estub PROPERTIES LINK_FLAGS /ENTRY:E32Bootstrap)
 
 ### SCPPNWDL_KERN: used by kernel. It contains new operators override.
 #To be linked by kernel
-add_library (scppnwdl_kern STATIC ../euser/epoc/win32/scppnwdl.cpp)
-add_dependencies(scppnwdl_kern euser)
+#add_library (scppnwdl_kern STATIC ../euser/epoc/win32/scppnwdl.cpp)
+#add_dependencies(scppnwdl_kern euser)
 
 ### EPOC: emulator executable
-add_executable(epoc ../euser/epoc/win32/uc_exe.cpp ../euser/epoc/win32/uc_epoc.cpp) #Compile the EXE target entry point which is uc_exe.cpp 
-add_dependencies(epoc estub euser)
-set_target_properties(epoc PROPERTIES LINK_FLAGS "/ENTRY:_E32Bootstrap /SUBSYSTEM:WINDOWS /NODEFAULTLIB")
-target_link_libraries(epoc msvcrt)
+#add_executable(epoc ../euser/epoc/win32/uc_exe.cpp ../euser/epoc/win32/uc_epoc.cpp) #Compile the EXE target entry point which is uc_exe.cpp 
+#add_dependencies(epoc estub euser)
+#set_target_properties(epoc PROPERTIES LINK_FLAGS "/ENTRY:_E32Bootstrap /SUBSYSTEM:WINDOWS /NODEFAULTLIB")
+#target_link_libraries(epoc msvcrt)
 #set_target_properties(epoc PROPERTIES COMPILE_FLAGS "/Zl")
 #set_target_properties(epoc PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup /SUBSYSTEM:WINDOWS")
 #set_target_properties(epoc PROPERTIES LINK_FLAGS "/NODEFAULTLIB")