User talk:Argonel
kdelibs.git&a=commitdiff&h=2b7bb340d7
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
http://techbase.kde.org/Development/CMake/Addons_for_KDE
- KDE4_ADD_APP_ICON(appsources pattern)
- Mac OS X and Windows only: Adds application icon to target source list. This macro adds an application icon to the specified target. Mac OS X notes: the application icon is added to a Mac OS X bundle so that Finder and friends show the right thing. You need to provide a 128x128 version of the icon for this to work. Windows notes: the application icon(s) are compiled into the application binary.
- Parameters:
- 'appsources' - specifies the list of source files
- 'pattern' - regular expression for searching application icons
Examples:
KDE4_ADD_APP_ICON(myapp_sources "pics/cr*-myapp.png")
KDE4_ADD_APP_ICON(myapp_sources "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/myapp.png")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") #set_source_files_properties(${khtmldom_STAT_SRCS} PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})