Started to migrate to target_compile_options (#7222)

* Started to migrate to target_compile_options

* combined compile options together. Added Mac CI builds

* remove arm build (not supported). Fixed old-style-casts

* moved to using a ProjectConfig interface library to specify options

* remove the explicit CMAKE_CXX_STANDARD
This commit is contained in:
Derek Bailey
2022-04-06 13:25:43 -07:00
committed by GitHub
parent 20aad0c41e
commit 14615699fa
9 changed files with 191 additions and 130 deletions

View File

@@ -46,7 +46,8 @@ int main(int /*argc*/, const char * /*argv*/[]) {
// inizialize parser by deserializing bfbs schema
flatbuffers::Parser parser2;
ok = parser2.Deserialize((uint8_t *)bfbs_file.c_str(), bfbs_file.length());
ok = parser2.Deserialize(reinterpret_cast<const uint8_t *>(bfbs_file.c_str()),
bfbs_file.length());
assert(ok);
// parse json in parser from fbs and bfbs