User talk:Argonel: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | [http://quickgit.kde.org/index.php?p=kdelibs.git&a=commitdiff&h=2b7bb340d71a4c97604adc1952db261be7f2a35a&hp=5d5feb138ae85693a5217b99ec646745825c43ea kdelibs.git&a=commitdiff&h=2b7bb340d7] | ||
== | [http://quickgit.kde.org/index.php?p=kdelibs.git&a=blobdiff&h=01d4050a347a54af3266e85d554b9075cab7616d&hp=0b4a99a0b207b76e6cdfced2e624d6ea4171f62b&hb=2b7bb340d71a4c97604adc1952db261be7f2a35a&f=khtml/CMakeLists.txt khtml/CMakeLists.txt] | ||
: | 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: | ||
<syntaxhighlight lang="cmake"> | |||
KDE4_ADD_APP_ICON(myapp_sources "pics/cr*-myapp.png") | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="cmake"> | |||
KDE4_ADD_APP_ICON(myapp_sources "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/myapp.png") | |||
</syntaxhighlight> | |||
<pre> | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") | |||
#set_source_files_properties(${khtmldom_STAT_SRCS} PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS}) | |||
</pre> | |||
http://en.wikipedia.org/wiki/Help:List | |||
http://en.wikipedia.org/wiki/Help:Wiki_markup#Nowiki | |||
: | |||
Latest revision as of 09:45, 20 July 2012
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})