Fixing broken euser build. anywhere
authorSlion
Mon, 01 Feb 2010 19:40:00 +0100
branchanywhere
changeset 40 04a1b74efd48
parent 38 422372aa20a3
child 41 d32f34975bbf
Fixing broken euser build.
kernel/eka/euser/CMakeLists.txt
--- a/kernel/eka/euser/CMakeLists.txt	Mon Feb 01 16:59:56 2010 +0100
+++ b/kernel/eka/euser/CMakeLists.txt	Mon Feb 01 19:40:00 2010 +0100
@@ -30,7 +30,7 @@
 add_definitions(-D__WINS__)
 #__CPU_X86 is declared by __WINS__ 
 #add_definitions(-D__CPU_X86)
-#add_definitions(-D__DLL__)
+add_definitions(-D__DLL__)
 
 
 #set(commonDefines "__VC32__; _UNICODE;")
@@ -113,15 +113,16 @@
 #define our target
 
 ### EMULATOR: used by euser and kernel for emulation
-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
+add_library (emulator SHARED ../euser/epoc/win32/emulator.cpp) #Compile the KLIB target entry point which is l_entry.cpp:  ../kernel/win32/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
 
 ### EUSER: many user library
 add_library (euser SHARED ${source})
 add_dependencies(euser genexec emulator)
-set_target_properties(euser PROPERTIES COMPILE_DEFINITIONS "__DLL__")
+target_link_libraries(euser emulator)
+#set_target_properties(euser PROPERTIES COMPILE_DEFINITIONS "__DLL__")
 
 
 ### ESTUB: not sure why need that yet