Fix CMake files and non-debug crashes 74/24574/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 26 May 2020 21:49:50 +0000 (17:49 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 26 May 2020 22:27:40 +0000 (18:27 -0400)
commit89edd734c0a347dafceba1cef1ac835e0fe61e1a
treed54ef3bc130749b9c4241f22663b508c697af9f5
parent055909f4a7b27003bdd60c1cee764cf1d23be9cc
Fix CMake files and non-debug crashes

Changes include:
- Reworked src/CMakeLists.txt to use app template macros.
- Removed now unnecessary linker script, symbol exports are handled
  in the app template macros.
- Set missing required entries in conf.d/cmake/config.cmake, and
  update to match latest template version in cmake-apps-module,
  as well as some naming fixes in the PROJECT* definitions.
- Move project definition to top-level CMakeLists.txt to make
  tracking conf.d/cmake/config.cmake changes easier.  This quiets
  the warning from newer versions of CMake about needing a project
  definition in the top-level CMakeLists.txt.
- Moved icon file to default location for app template.
- Added config.xml.in file to work with app template, replacing
  previous hard-coded version.
- Fixed some issues in src/hs-clientmanager.{h,cpp} to address
  crashes seen in the release widget now that it is actually built
  without debug flags, and to quiet some warnings.

Bug-AGL: SPEC-3343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3741e6a307297272d5c22e894dfa9ff8b0dd1f52
CMakeLists.txt
conf.d/cmake/config.cmake
conf.d/wgt/config.xml.in [new file with mode: 0644]
conf.d/wgt/icon.svg [moved from package/root/icon.svg with 100% similarity]
package/root/config.xml [deleted file]
src/CMakeLists.txt
src/export.map [deleted file]
src/hs-clientmanager.cpp
src/hs-clientmanager.h