Some cleanup in App cmake files to make them smaller and more readable

25 jobs for USE_QT_AUTOMOC in 80 minutes and 28 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #62406
VS2013
VS2013-32-bit-shared-no-apps

00:05:28

passed #62408
VS2013
VS2013-32-bit-static-no-apps

00:05:37

passed #62405
VS2013
VS2013-64-bit-shared-no-apps

00:05:29

passed #62407
VS2013
VS2013-64-bit-static-no-apps

00:05:44

passed #62399
VS2015
VS2015-32-bit-shared-apps

00:07:06

passed #62400
VS2015
VS2015-32-bit-shared-no-apps

00:06:58

passed #62403
VS2015
VS2015-32-bit-static-apps

00:07:15

passed #62404
VS2015
VS2015-32-bit-static-no-apps

00:07:10

passed #62397
VS2015
VS2015-64-bit-shared-apps

00:09:08

passed #62398
VS2015
VS2015-64-bit-shared-no-apps

00:07:36

passed #62401
VS2015
VS2015-64-bit-static-apps

00:08:43

passed #62402
VS2015
VS2015-64-bit-static-no-apps

00:08:33

passed #62394
VS2017
VS2017-32-bit-shared-no-apps

00:06:16

passed #62396
VS2017
VS2017-32-bit-static-no-apps

00:07:48

passed #62391
Qt5101 VS2017
VS2017-64-bit-shared-apps

00:08:05

passed #62393
VS2017
VS2017-64-bit-shared-no-apps

00:07:18

passed #62392
Qt5101 VS2017
VS2017-64-bit-static-apps

00:08:20

passed #62395
VS2017
VS2017-64-bit-static-no-apps

00:08:17

passed #62385
Linux
clang-c++11

00:38:56

passed #62387
Linux
clang-c++14

00:19:11

passed #62390
Linux
cppcheck

00:00:05

passed #62384
Linux
gcc-c++11

00:04:03

passed #62386
Linux
gcc-c++14

00:04:33

passed #62388
Apple
macos-c++11

00:24:42

passed #62389
Apple
macos-c++98

00:13:29