~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to cmake/wxmono.cmake

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
if( BUILD_SHARED_LIBS )
 
3
    string( CONFIGURE "wx@WXSYSTEM@@WXVERSION_MAJOR@@WXVERSION_MINOR@@WXVERSION_RELEASE@@WXUNICODE@@WXBUILD@_@WXCOMPILER@@WXFLAVOUR@" WXMONONAME )
 
4
else()
 
5
    string( CONFIGURE "wx@WXSYSTEM@@WXVERSION_MAJOR@@WXVERSION_MINOR@@WXUNICODE@@WXBUILD@" WXMONONAME )
 
6
endif()
 
7
 
 
8
if( WXMONOLITHIC )
 
9
 
 
10
    message( STATUS "Monolithic Library ${WXMONONAME} will be built" )
 
11
 
 
12
    add_target_definition( ${WXMONONAME} )
 
13
 
 
14
    add_library( ${WXMONONAME}
 
15
        ${WXADV_COMMON_SOURCES} ${WXADV_MACH_SOURCES}
 
16
        ${WXAUI_COMMON_SOURCES} ${WXAUI_MACH_SOURCES}
 
17
        ${WXBASE_COMMON_SOURCES} ${WXBASE_MACH_SOURCES}
 
18
        ${WXCORE_COMMON_SOURCES} ${WXCORE_MACH_SOURCES}
 
19
        ${WXHTML_COMMON_SOURCES} ${WXHTML_MACH_SOURCES}
 
20
        ${WXMEDIA_COMMON_SOURCES} ${WXMEDIA_MACH_SOURCES}
 
21
        ${WXNET_COMMON_SOURCES} ${WXNET_MACH_SOURCES}
 
22
        ${WXPROPGRID_COMMON_SOURCES} ${WXPROPGRID_MACH_SOURCES}
 
23
        ${WXRIBBON_COMMON_SOURCES} ${WXRIBBON_MACH_SOURCES}
 
24
        ${WXRICHTEXT_COMMON_SOURCES} ${WXRICHTEXT_MACH_SOURCES}
 
25
        ${SCINTILLA_SOURCES}
 
26
        ${WXSTC_COMMON_SOURCES} ${WXSTC_MACH_SOURCES}
 
27
        ${WXWEBVIEW_COMMON_SOURCES} ${WXWEBVIEW_MACH_SOURCES}
 
28
        ${WXXML_COMMON_SOURCES} ${WXXML_MACH_SOURCES}
 
29
        ${WXXRC_COMMON_SOURCES} ${WXXRC_MACH_SOURCES} )
 
30
 
 
31
    target_link_libraries(
 
32
 
 
33
                )
 
34
endif()