equal
deleted
inserted
replaced
121 add_dependencies(ekern genexec emulator) |
121 add_dependencies(ekern genexec emulator) |
122 #install(TARGETS ekern DESTINATION ./symbian/bin) |
122 #install(TARGETS ekern DESTINATION ./symbian/bin) |
123 |
123 |
124 |
124 |
125 |
125 |
|
126 # |
|
127 #Copy ekern.dll to be next to epoc.exe |
|
128 # |
|
129 |
|
130 get_target_property(LIB_NAME ekern LOCATION) |
|
131 get_target_property(DEST_NAME epoc LOCATION) |
|
132 set(target_suffix .dll) |
|
133 #Extract path from full filename |
|
134 string(REGEX REPLACE "(^.+)/epoc.exe" "\\1" DEST_NAME ${DEST_NAME}) |
|
135 set(DEST_NAME ${DEST_NAME}/ekern${target_suffix}) |
|
136 |
|
137 #message(${DEST_NAME}) |
|
138 |
|
139 add_custom_command ( |
|
140 TARGET ekern |
|
141 POST_BUILD |
|
142 COMMAND ${CMAKE_COMMAND} -E copy ${LIB_NAME} ${DEST_NAME} |
|
143 ) |
|
144 |
|
145 |
126 |
146 |
127 #define vs IDE folders |
147 #define vs IDE folders |
128 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$") |
148 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$") |
129 source_group(Includes REGULAR_EXPRESSION ".+\\.h$") |
149 source_group(Includes REGULAR_EXPRESSION ".+\\.h$") |
130 |
150 |