Skip to content

Commit

Permalink
Use minimum CMake 3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Dec 26, 2023
1 parent d0fdfdc commit 4abc5ba
Show file tree
Hide file tree
Showing 102 changed files with 195 additions and 99 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

PROJECT(libindi-3rdparty CXX C)
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion examples/generic-ccd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(generic_ccd CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion examples/generic-client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(generic_client CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-aagcloudwatcher-ng/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(aagcloudwatcher CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-ahp-xc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_ahp_xc CXX C)

set (AHP_XC_VERSION_MAJOR 1)
Expand Down
2 changes: 1 addition & 1 deletion indi-aok/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-aok C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-apogee/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-apogee CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-armadillo-platypus/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_lunatico CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-asi-power/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-asi-power CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-asi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_asi CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-astroasis/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_astroasis CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-astrolink4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-astrolink4 CXX C)

set (ASTROLINK4_VERSION_MAJOR 0)
Expand Down
2 changes: 1 addition & 1 deletion indi-astromechfoc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_astromechfoc C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-atik/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_atik CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-avalon/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-avalon C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-avalonud/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
project(indi-avalonud CXX C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-beefocus/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_beefocus CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-bresserexos2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
project(indi-bresserexos2 VERSION 0.901)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-celestronaux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
########### Celestron AUX INDI driver ##############
PROJECT(indi-celestronaux C CXX)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-dreamfocuser/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_dreamfocuser_focus C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-dsi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-dsi CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-duino/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_duino CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
24 changes: 24 additions & 0 deletions indi-eqmod/staradventurergti.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
Copyright(c) 2022 Jasem Mutlaq. All rights reserved.
Sky Adventurer GTi
INDI driver is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
INDI driver is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with the Skywatcher Protocol INDI driver. If not, see <http://www.gnu.org/licenses/>.
*/

#include "staradventurergtibase.h"
#include <memory>

static std::unique_ptr<StarAdventurerGTIBase> azgti(new StarAdventurerGTIBase());
41 changes: 41 additions & 0 deletions indi-eqmod/staradventurergtibase.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*******************************************************************************
Copyright(c) 2020 Jasem Mutlaq. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*******************************************************************************/

#include "staradventurergtibase.h"
#include <connectionplugins/connectionserial.h>

StarAdventurerGTIBase::StarAdventurerGTIBase() : EQMod()
{
}

const char * StarAdventurerGTIBase::getDefaultName()
{
return "Star Adventurer GTi";
}

bool StarAdventurerGTIBase::initProperties()
{
EQMod::initProperties();
serialConnection->setDefaultBaudRate(Connection::Serial::B_115200);
for (auto oneProperty : *getProperties())
{
oneProperty.setDeviceName(getDeviceName());
}

return true;
}
31 changes: 31 additions & 0 deletions indi-eqmod/staradventurergtibase.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*******************************************************************************
Copyright(c) 2022 Jasem Mutlaq. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*******************************************************************************/

#pragma once

#include "eqmodbase.h"

class StarAdventurerGTIBase : public EQMod
{
public:
StarAdventurerGTIBase();
protected:
virtual const char *getDefaultName();
virtual bool initProperties();
};

2 changes: 1 addition & 1 deletion indi-ffmv/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-ffmv CXX C)

set(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}")
Expand Down
2 changes: 1 addition & 1 deletion indi-fishcamp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-fishcamp CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-fli/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_fli C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-gige/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_gige CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-gphoto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_gphoto C CXX)

set(INDI_GPHOTO_VERSION_MAJOR 3)
Expand Down
2 changes: 1 addition & 1 deletion indi-gpsd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
########### NexStar Evolution INDI driver ##############
PROJECT(indi_gpsd C CXX)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-gpsnmea/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
########### NexStar Evolution INDI driver ##############
PROJECT(indi_gpsnmea C CXX)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-inovaplx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_inovaplx CXX C)

set (INOVAPLX_VERSION_MAJOR 1)
Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_libcamera CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

project(libcamera-apps)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

project(libcamera-still)
add_executable(libcamera-still libcamera_still.cpp)
Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/encoder/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/image/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/output/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/preview/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

include(GNUInstallDirs)

Expand Down
2 changes: 1 addition & 1 deletion indi-libcamera/libcamera-apps/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.16)

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
install(PROGRAMS camera-bug-report DESTINATION bin)
2 changes: 1 addition & 1 deletion indi-limesdr/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_limesdr CXX C)

set (LIMESDR_VERSION_MAJOR 1)
Expand Down
2 changes: 1 addition & 1 deletion indi-maxdomeii/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
project(indi_maxdomeii C CXX)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-mgen/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_mgenautoguider C CXX)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-mi/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_miccd CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-nexdome/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_nexdome CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-nightscape/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_nightscape CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-nut/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJECT(indi_nut C CXX)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)

set (NUT_VERSION_MAJOR 0)
set (NUT_VERSION_MINOR 1)
Expand Down
2 changes: 1 addition & 1 deletion indi-orion-ssg3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi-orion_ssg3 CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
2 changes: 1 addition & 1 deletion indi-pentax/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.16)
PROJECT(indi_pentax CXX C)

LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
Loading

0 comments on commit 4abc5ba

Please sign in to comment.