Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
7a05fce1bd43080ead2d35e294e917b2a5d28a06
[xestiaab/.git] / source / tools / CMakeLists.txt
1 add_executable(bitmapcode
2     bitmapcode.cpp)
4 if (MSVC)
5     target_link_libraries(bitmapcode
6         LINK_PUBLIC
7         ${wxWidgets_LIBRARIES})
8     add_custom_command(
9         TARGET bitmapcode
10         POST_BUILD
11         COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
12 elseif (APPLE)
13     target_link_libraries(bitmapcode
14         LINK_PUBLIC
15         c++
16         ${wxWidgets_LIBRARIES})
17     add_custom_command(
18         TARGET bitmapcode
19         POST_BUILD
20         COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
21 else()
22     target_link_libraries(bitmapcode
23         LINK_PUBLIC
24         ${wxWidgets_LIBRARIES})
25     add_custom_command(
26         TARGET bitmapcode
27         POST_BUILD
28         COMMAND bitmapcode ${CMAKE_SOURCE_DIR}/bitmaps)
29 endif()
31 set (sources 
32     odthelpbrowser/base64.cpp
33     odthelpbrowser/base64.h
34     odthelpbrowser/frmMain.cpp
35     odthelpbrowser/frmMain.h
36     odthelpbrowser/main.cpp
37     odthelpbrowser/odt.cpp
38     odthelpbrowser/odt.h
39     odthelpbrowser/ODTHelpBrowser.cpp
40     odthelpbrowser/ODTHelpBrowser.h
41     odthelpbrowser/version.h)
43 if (WIN32)
44     add_executable(odthelpbrowser WIN32 ${sources})
45 elseif (APPLE)
46     add_executable(odthelpbrowser MACOSX_BUNDLE ${sources})
47 else()
48     add_executable(odthelpbrowser ${sources})
49 endif()
50     
51 target_link_libraries(odthelpbrowser
52     LINK_PUBLIC
53     ${wxWidgets_LIBRARIES}
54     ${LIBXML2_LIBRARY})
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy