# HG changeset patch # User Slion # Date 1265049600 -3600 # Node ID 04a1b74efd4868c45857dca0c9bc86200914c89c # Parent 422372aa20a3e13ba031d1930a5e856443fd834e Fixing broken euser build. diff -r 422372aa20a3 -r 04a1b74efd48 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