From aa8afbe0d3c8e89ade488b4126f4fd8659b3dda7 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 27 Jul 2018 11:28:31 +0200 Subject: [PATCH] chore(CMakeLists.txt): move config.h.cmake in src folder --- CMakeLists.txt | 2 +- src/config.h.cmake | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 src/config.h.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 22ddb1f6f..7c4dd38db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -333,7 +333,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E copy # ------------------------------------------------------------------------------ set(MSPLUGINS_DIR "${CMAKE_INSTALL_LIBDIR}/mediastreamer/plugins") -configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h") # ------------------------------------------------------------------------------ # Build. diff --git a/src/config.h.cmake b/src/config.h.cmake new file mode 100644 index 000000000..06f848cb8 --- /dev/null +++ b/src/config.h.cmake @@ -0,0 +1,26 @@ +/******************************************************************************* +* config.h.cmake +* Copyright (C) 2017-2018 Belledonne Communications, Grenoble France +* +******************************************************************************** +* +* This program 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 2 +* of the License, or (at your option) any later version. +* +* This program 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 this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +* +*******************************************************************************/ + +#cmakedefine APPLICATION_NAME "${APPLICATION_NAME}" +#cmakedefine ENABLE_UPDATE_CHECK 1 +#cmakedefine EXECUTABLE_NAME "${EXECUTABLE_NAME}" +#cmakedefine MSPLUGINS_DIR "${MSPLUGINS_DIR}"