+ add_custom_command(
+ TARGET bitmapcode
+ POST_BUILD
+ COMMAND $(OutDir)/bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
+endif()
+
+if (APPLE)
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ c++
+ ${wxWidgets_LIBRARIES})
+else()
+ target_link_libraries(bitmapcode
+ LINK_PUBLIC
+ ${wxWidgets_LIBRARIES})