speed-dreams-code/packaging/3rdParty-devel/patches/sqlite3-CMakeLists.txt
xavi92 4681971d6d Remove svn:keywords property from the repository
These properties are not transmitted with git-svn(1) [1], which might
then cause failed patches when modifying lines close to these
properties.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9554 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ed21e1fe12d01a370842418c35722c75117a30a
Former-commit-id: 8ecd21b7c0211cd000b10b3f0032980f63c06398
2024-10-02 15:30:18 +00:00

52 lines
1.6 KiB
Text

#
#==============================================================================
#
# file : CMakeLists.txt
# created : Dec 11 2019
# copyright : (C) 2019 Joe Thompson
# email : beaglejoe@users.sourceforge.net
#
#==============================================================================
#
# 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 3 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, see <http://www.gnu.org/licenses/>.
#
#==============================================================================
#
cmake_minimum_required(VERSION 2.8)
project(sqlite3 C)
set(VERSION "3.30.1")
#include_directories(include)
set(sqlite_SOURCES sqlite3.c)
set(sqlite_HEADERS sqlite3.h sqlite3ext.h)
#add_compile_definitions(SQLITE_API= '__declspec(dllexport)')
#add_library(sqlite3 SHARED ${sqlite_SOURCES} ${sqlite_HEADERS})
add_library(sqlite3 STATIC ${sqlite_SOURCES} ${sqlite_HEADERS})
install(FILES ${sqlite_HEADERS}
DESTINATION include)
install(TARGETS sqlite3
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)