X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fcamera-gstreamer.git;a=blobdiff_plain;f=meson.build;fp=CMakeLists.txt;h=f941aeed7d18170138ab4b4c6457be4728131a43;hp=c21c5bf46ff4478fc42317ac6d646515086ac360;hb=895b7306d837862b7fe1b706bb26307007f69c32;hpb=19ed4e26ab884460a93765e2412cda76ac795794 diff --git a/CMakeLists.txt b/meson.build similarity index 57% rename from CMakeLists.txt rename to meson.build index c21c5bf..f941aee 100644 --- a/CMakeLists.txt +++ b/meson.build @@ -1,19 +1,32 @@ -# Copyright 2021 Collabora, Ltd. -# Copyright 2022 Konsulko Group +# +# Copyright ©, 2023 Collabora, Ltd. # # Licensed 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 +# 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.3) +project ( + 'camera-gstreamer', + ['c', 'cpp'], + version : '1.0.0', + license : 'Apache-2.0', + meson_version : '>= 0.60.0', + default_options : + [ + 'warning_level=1', + 'buildtype=debugoptimized', + 'c_std=c17', + 'cpp_std=c++17' + ], +) -add_subdirectory(app) +subdir('app')