Commit graph

6 commits

Author SHA1 Message Date
Ivailo Monev
ca6ec59cc7 generic: replace macro_log_feature() with set_package_properties() calls
other changes such as syncing properties, updating some of the URLs,
adding missing feature information, removing of redundant checks and
variables and indentation were done in the process while testing if the
changes work as intended.

replacing find_package() with macro_optional_find_package() was also done
where applicable however it's usage is questionable due to the CMake
`CMAKE_DISABLE_FIND_PACKAGE_<PACKAGE>` option.

there is a lot to be done, mostly updating package properties so I am
thinking of either providing a package properties file (like the
MacroLibrary) which sets properties for packages globablly or setting
package properties from the CMake modules shipped with kdelibs. the first
solution may override properties for packages if other projects define them
however a check to ensure that is not done should suffice. the second
solution will cover only DESCRIPTION and URL meaning PURPOSE and TYPE will
still have to be specified in the build systems.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-21 05:37:28 +02:00
Ivailo Monev
f840649b58 generic: support building projects separately
TODO from https://github.com/fluxer/katana/issues/7.

kget and libktorrent cannot be build separately because libktorrent depends
on boost (or miniboost which is bundled) and kget depends on libktorrent.

syndication include paths were adjusted to build from the top-level
directory since it was used not only by akregator, that is no longer the
case and it should probably be moved to akregator sub-directory but that
will be decided in the future.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 23:43:40 +00:00
Ivailo Monev
a40be5d10a generic: move ksaneplugin to libksane sub-directory 2015-10-29 09:42:56 +02:00
Ivailo Monev
6177607a3d libksane: drop twain interface 2015-01-01 13:37:33 +00:00
Ivailo Monev
f14207a807 libksane: fix some build issues when cmake invoced on top-level directory 2015-01-01 01:30:25 +00:00
Ivailo Monev
b839a26abc import libksane, skanlite and ksaneplugin (bootstrap will fail) 2015-01-01 01:22:10 +00:00