equal
deleted
inserted
replaced
107 target_link_libraries(emulator kernel32) |
107 target_link_libraries(emulator kernel32) |
108 |
108 |
109 add_library (euser SHARED ${source}) |
109 add_library (euser SHARED ${source}) |
110 add_dependencies(euser genexec emulator) |
110 add_dependencies(euser genexec emulator) |
111 |
111 |
112 add_library (estub ../euser/epoc/win32/uc_stub.cpp) |
112 add_library (estub STATIC ../euser/epoc/win32/uc_stub.cpp) |
|
113 #set_target_properties(estub PROPERTIES LINK_FLAGS /ENTRY:E32Bootstrap) |
113 |
114 |
|
115 add_executable(epoc ../euser/epoc/win32/uc_epoc.cpp) |
|
116 add_dependencies(epoc estub euser) |
|
117 set_target_properties(epoc PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup /SUBSYSTEM:WINDOWS") |
|
118 #set_target_properties(epoc PROPERTIES LINK_FLAGS "/ENTRY:_E32Bootstrap /SUBSYSTEM:WINDOWS /NODEFAULTLIB /NOASSEMBLY") |
|
119 #set_target_properties(target1 target2 ... PROPERTIES prop1 value1 prop2 value2 ...) |
|
120 |
|
121 |
|
122 #No need for emulator here |
|
123 #add_executable(epoc ./euser/epoc/win32/uc_epoc.cpp) |
|
124 #target_link_libraries(epoc estub euser) |
|
125 |
|
126 |
114 #define vs IDE folders |
127 #define vs IDE folders |
115 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$") |
128 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$") |
116 source_group(Includes REGULAR_EXPRESSION ".+\\.h$") |
129 source_group(Includes REGULAR_EXPRESSION ".+\\.h$") |
117 |
130 |
118 |
131 |