xiaoxiang781216 commented on code in PR #3920:
URL: https://github.com/apache/nuttx-apps/pull/3920#discussion_r4373188647


##########
audioutils/rtttl-c/CMakeLists.txt:
##########
@@ -0,0 +1,115 @@
+# 
##############################################################################
+# apps/audioutils/rtttl-c/CMakeLists.txt
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements.  See the NOTICE file distributed with this work for
+# additional information regarding copyright ownership.  The ASF licenses this
+# file to you under the Apache License, Version 2.0 (the "License"); you may 
not
+# use this file except in compliance with the License.  You may obtain a copy 
of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations under
+# the License.
+#
+# 
##############################################################################
+
+if(CONFIG_AUDIOUTILS_RTTTL_C AND TARGET apps)
+
+  include(FetchContent)
+
+  if(FETCHCONTENT_SOURCE_DIR_RTTTL_C_FETCH)
+    set(rtttl_c_fetch_SOURCE_DIR ${FETCHCONTENT_SOURCE_DIR_RTTTL_C_FETCH})
+  else()
+    set(rtttl_c_fetch_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/rtttl-c)
+  endif()
+
+  set(RTTTL_C_SHA256

Review Comment:
   why need check sha hash? let's follow other cmake build script



##########
audioutils/morsey/CMakeLists.txt:
##########
@@ -0,0 +1,115 @@
+# 
##############################################################################
+# apps/audioutils/morsey/CMakeLists.txt
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements.  See the NOTICE file distributed with this work for
+# additional information regarding copyright ownership.  The ASF licenses this
+# file to you under the Apache License, Version 2.0 (the "License"); you may 
not
+# use this file except in compliance with the License.  You may obtain a copy 
of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations under
+# the License.
+#
+# 
##############################################################################
+
+if(CONFIG_AUDIOUTILS_MORSEY AND TARGET apps)
+
+  include(FetchContent)
+
+  if(FETCHCONTENT_SOURCE_DIR_MORSEY_FETCH)
+    set(morsey_fetch_SOURCE_DIR ${FETCHCONTENT_SOURCE_DIR_MORSEY_FETCH})
+  else()
+    set(morsey_fetch_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/morsey)
+  endif()
+
+  set(MORSEY_C_SHA256

Review Comment:
   ditto



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to