polybar-dwm/cmake
sam-lunt d3e37918e5 CMake refactor (#1510)
* Clean up CMake logic

- removed logic to find CppUnit (no longer used)
- removed "dirs" variable used to pass include directories
- removed add_library function (no longer used)
- removed make_executable function
    * only used in 2 places (polybar and polybar-msg)
    * it was more general than needed, logic is simpler without it
- split polybar into static library and executable
    * this allows linking unit tests to the library

* rename library

* add coverage build

- Added a CMake build type "Coverage" that builds C and C++
  code with the "--coverage" flag (recognized by both GCC and Clang)
- removed "-Wno-missing-field-initializers" from test flags,
  since it didn't seem to be needed any more
- removed logic from tests/CMakeLists to disable "-Werror" and "-pedantic-errors"
  since there didn't seem to be any warnings during the build

* fix whitespace

* update travis

* remove O2 from defalt flags

* allow tests to be built by default make target

* disable Werror for debug builds
2018-11-21 18:46:33 +01:00
..
common CMake refactor (#1510) 2018-11-21 18:46:33 +01:00
modules CMake refactor (#1510) 2018-11-21 18:46:33 +01:00
templates install_manifest has a .txt extension 2017-02-25 11:01:19 +03:30
01-core.cmake CMake refactor (#1510) 2018-11-21 18:46:33 +01:00
02-opts.cmake doc(net): Indicate the wireless library used 2018-09-18 15:29:05 -07:00
03-libs.cmake feat(net): Add nl80211 support (#1009) 2018-06-18 20:16:09 -07:00
04-targets.cmake fix(clang): Search for files in right places 2018-05-20 16:37:18 -07:00
05-summary.cmake doc(net): Indicate the wireless library used 2018-09-18 15:29:05 -07:00