Diffusion Kate 458e783209dc

Refactor config.h handling.

Authored by daandemeyer on Aug 16 2019, 12:55 PM.

Description

Refactor config.h handling.

  • Use separate config.h files for kate and kwrite.
  • Add KWRITE_VERSION for use in kwrite source code.
  • Use the more widely used .in suffix for config.h templates instead of

the .cmake suffix which is primarily used by CMake script files.

  • Rename KActivities_FOUND define to KF5Activities_FOUND so that

cmakedefine in config.h.in automatically picks it up when
KF5Activities_FOUND is set during CMake's configure stage.

  • Remove config.h include from source files that don't need it.

Details

Committed
daandemeyerAug 16 2019, 1:04 PM
Parents
R40:f99afa4e727a: Rename kateprivate_export.h to katetests_export.h
Branches
Unknown
Tags
Unknown