add_library(${MISC_TARGET_NAME}
${MISC_FILE_LIST})
+add_dependencies(${MISC_TARGET_NAME}
+ bitmapcode)
+
set(FILE_LIST main.cpp
AppXestiaAddrBk.cpp
AppXestiaAddrBk.h
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
add_library(${TARGET_NAME}
${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
import-vcard4.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
XABSearchPanel.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
bitmapcode.cpp)
if (MSVC)
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ ${wxWidgets_LIBRARIES})
add_custom_command(
TARGET bitmapcode
POST_BUILD
- COMMAND $(OutDir)/bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
-endif()
-
-if (APPLE)
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
+elseif (APPLE)
target_link_libraries(bitmapcode
LINK_PUBLIC
c++
${wxWidgets_LIBRARIES})
+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
else()
target_link_libraries(bitmapcode
LINK_PUBLIC
${wxWidgets_LIBRARIES})
+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
endif()
set (sources
vcard34conv-v4conv.cpp)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)
XABPriorityCtrl.h)
add_library(${TARGET_NAME}
- ${FILE_LIST})
\ No newline at end of file
+ ${FILE_LIST})
+
+add_dependencies(${TARGET_NAME}
+ bitmapcode)