1 set(MISC_TARGET_NAME misc)
3 set(MISC_FILE_LIST convert.cpp
9 add_library(${MISC_TARGET_NAME}
12 set(FILE_LIST main.cpp
17 frmConflictResolution.cpp
18 frmConflictResolution.h
23 frmInvalidSSLCertificate.cpp
24 frmInvalidSSLCertificate.h
29 frmNewAccount-CardDAV2.cpp
37 if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
38 list(APPEND FILE_LIST frmEditAccount.mm
43 list(APPEND FILE_LIST os/msw/xestiaab.rc)
44 add_executable(xestiaab WIN32
47 add_executable(xestiaab
52 message("${RUNTIME_OUTPUT_NAME_bitmapcode}")
54 target_include_directories(xestiaab
58 add_dependencies(xestiaab bitmapcode)
60 list(APPEND LIBRARIES ${wxWidgets_LIBRARIES}
76 list(APPEND LIBRARIES wsock32
83 target_link_libraries(xestiaab
88 file(GLOB DOCUMENTATION_INSTALL_FILES "${CMAKE_SOURCE_DIR}/../docs/*")
89 foreach(ITEM ${DOCUMENTATION_INSTALL_FILES})
90 if(IS_DIRECTORY "${ITEM}")
91 list(APPEND DOCUMENTATION_DEPLOY_FILES "${ITEM}")
93 list(APPEND DOCUMENTATION_DEPLOY_DIRECTORIES "${ITEM}")
97 install(TARGETS xestiaab RUNTIME DESTINATION bin)
98 install(TARGETS odthelpbrowser RUNTIME DESTINATION bin)
99 install(FILES ${CMAKE_SOURCE_DIR}/xestiaab.1 DESTINATION share/man/man1)
100 install(FILES ${DOCUMENTATION_DEPLOY_FILES} DESTINATION share/doc/xestiaab)
101 install(FILES ${DOCUMENTATION_DEPLOY_DIRECTORIES} DESTINATION share/doc/xestiaab)