Commit Graph

4 Commits

Author SHA1 Message Date
Wyatt Hepler
c542a5d6f7 pw_polyfill: Backports for C++11 and C++14
- The pw_polyfill module brings some C++17 features to C++11 and C++14.
- The module's overrides are added to the GN build to seamlessly
  support older C++ standards.

Change-Id: Icb29772073e681e1ef868561bdde56e629e9c0d9
2020-01-17 09:04:49 -08:00
Wyatt Hepler
89acf60fc9 pw_tokenizer: CMake build
Change-Id: I2fef5f7f3a9b5dfb01487ef678aa978875830dc8
2020-01-10 00:19:10 +00:00
Wyatt Hepler
b8b01e3a5e pw_base64: Module for Base64 encoding and decoding
Provides C and C++ functions for encoding, decoding, and checking the
validity of Base64 data.

Change-Id: I784460d802c68b01ecee5a1778626f289685a871
2020-01-09 22:21:01 +00:00
Wyatt Hepler
0fbcdfc3cd Basic CMake build
- Automatically add simple modules with pw_auto_add_simmple_module.
- Define libraries in a module with pw_add_module_library.
- Define tests and test groups with pw_add_test and
  pw_add_test_to_groups.
- Tests execute with full Ninja dependency resolution, as in the GN
  build.
- Add CMakeLists.txt for existing modules.
- Currently there is no support for targets, but these libraries would
  be trivial to integrate with an existing CMake build.

Change-Id: If73d8b61bce88f91141737eb773f1ebce3a7676e
2020-01-04 01:05:46 +00:00