You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/04/12 02:03:58 UTC

[iotdb] branch master updated: Add the ignored CMakeLists.txt (#5483)

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 45631f8e38 Add the ignored CMakeLists.txt (#5483)
45631f8e38 is described below

commit 45631f8e38da0d649e9118821a6d6f620e5bdfff
Author: JiaXin Zhang <37...@users.noreply.github.com>
AuthorDate: Tue Apr 12 10:03:54 2022 +0800

    Add the ignored CMakeLists.txt (#5483)
---
 example/rest-client-c-example/CMakeLists.txt | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/example/rest-client-c-example/CMakeLists.txt b/example/rest-client-c-example/CMakeLists.txt
new file mode 100644
index 0000000000..5f79096910
--- /dev/null
+++ b/example/rest-client-c-example/CMakeLists.txt
@@ -0,0 +1,25 @@
+# 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.
+#
+cmake_minimum_required(VERSION 3.16)
+project(c_rest_iotdb C)
+
+set(CMAKE_C_STANDARD 99)
+find_package(CURL REQUIRED)
+
+add_executable(c_rest_iotdb main.c base64.c)
+target_link_libraries(c_rest_iotdb PRIVATE CURL::libcurl)
\ No newline at end of file