From 58ee9d58cd170be66dfb2a41faba032e13354d21 Mon Sep 17 00:00:00 2001 From: sksat Date: Fri, 17 May 2024 15:09:32 +0900 Subject: [PATCH] example user: make C99-build as default --- examples/mobc/CMakeLists.txt | 3 ++- examples/subobc/CMakeLists.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/mobc/CMakeLists.txt b/examples/mobc/CMakeLists.txt index bd6d88cba..4fa5eccc4 100644 --- a/examples/mobc/CMakeLists.txt +++ b/examples/mobc/CMakeLists.txt @@ -3,7 +3,8 @@ project(C2A) # options # C2A 全体を C99 としてビルドするかどうか -option(C2A_BUILD_AS_C99 "Build C2A as C99" OFF) +# c2a-core はまだ引き続き(限定的に)C89 のサポートは行うが、特に事情が無い限り C99 でのビルドを強く推奨する +option(C2A_BUILD_AS_C99 "Build C2A as C99" ON) # SCI COM for connection to WINGS TMTC IF # !!!注意!!! diff --git a/examples/subobc/CMakeLists.txt b/examples/subobc/CMakeLists.txt index 8a92b5436..6e8f16fe4 100644 --- a/examples/subobc/CMakeLists.txt +++ b/examples/subobc/CMakeLists.txt @@ -3,7 +3,8 @@ project(C2A) # options # C2A 全体を C99 としてビルドするかどうか -option(C2A_BUILD_AS_C99 "Build C2A as C99" OFF) +# c2a-core はまだ引き続き(限定的に)C89 のサポートは行うが、特に事情が無い限り C99 でのビルドを強く推奨する +option(C2A_BUILD_AS_C99 "Build C2A as C99" ON) # SCI COM for connection to WINGS TMTC IF # !!!注意!!!