mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Add new vendor libraries. Fix old names.
This commit is contained in:
parent
c0fd374404
commit
5a7034a049
@ -41,4 +41,4 @@ add_subdirectory(sqrat)
|
||||
# Include SDK library
|
||||
add_subdirectory(sdk)
|
||||
# Include Module library
|
||||
add_subdirectory(source)
|
||||
add_subdirectory(module)
|
||||
|
@ -71,7 +71,7 @@ add_library(SqModule MODULE
|
||||
# Link to base libraries
|
||||
target_link_libraries(SqModule VCMP Squirrel Sqrat SqSDK)
|
||||
# Link to third-party libraries
|
||||
target_link_libraries(SqModule SimpleINI HashLib B64Lib AES256Lib WhirlpoolLib TinyDir)
|
||||
target_link_libraries(SqModule SimpleINI HashLib B64Lib AES256Lib WhirlpoolLib TinyDir PUGIXML SQLite)
|
||||
#
|
||||
if(FORCE_32BIT_BIN)
|
||||
set_target_properties(SqModule PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")
|
||||
|
2
module/Vendor/CMakeLists.txt
vendored
2
module/Vendor/CMakeLists.txt
vendored
@ -2,5 +2,7 @@ add_subdirectory(SimpleIni)
|
||||
add_subdirectory(AES256)
|
||||
add_subdirectory(B64)
|
||||
add_subdirectory(Hash)
|
||||
add_subdirectory(PUGIXML)
|
||||
add_subdirectory(SQLite)
|
||||
add_subdirectory(TinyDir)
|
||||
add_subdirectory(Whirlpool)
|
||||
|
6
module/Vendor/PUGIXML/CMakeLists.txt
vendored
Normal file
6
module/Vendor/PUGIXML/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
# Create library
|
||||
add_library(PUGIXML STATIC include/pugiconfig.hpp include/pugixml.hpp pugixml.cpp)
|
||||
# Configure include folders
|
||||
target_include_directories(PUGIXML PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_include_directories(PUGIXML PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
|
24
module/Vendor/PUGIXML/LICENSE.md
vendored
Normal file
24
module/Vendor/PUGIXML/LICENSE.md
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2006-2019 Arseny Kapoulkine
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
74
module/Vendor/PUGIXML/include/pugiconfig.hpp
vendored
Normal file
74
module/Vendor/PUGIXML/include/pugiconfig.hpp
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
/**
|
||||
* pugixml parser - version 1.10
|
||||
* --------------------------------------------------------
|
||||
* Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
*
|
||||
* This library is distributed under the MIT License. See notice at the end
|
||||
* of this file.
|
||||
*
|
||||
* This work is based on the pugxml parser, which is:
|
||||
* Copyright (C) 2003, by Kristen Wegner (kristen@tima.net)
|
||||
*/
|
||||
|
||||
#ifndef HEADER_PUGICONFIG_HPP
|
||||
#define HEADER_PUGICONFIG_HPP
|
||||
|
||||
// Uncomment this to enable wchar_t mode
|
||||
// #define PUGIXML_WCHAR_MODE
|
||||
|
||||
// Uncomment this to enable compact mode
|
||||
// #define PUGIXML_COMPACT
|
||||
|
||||
// Uncomment this to disable XPath
|
||||
// #define PUGIXML_NO_XPATH
|
||||
|
||||
// Uncomment this to disable STL
|
||||
// #define PUGIXML_NO_STL
|
||||
|
||||
// Uncomment this to disable exceptions
|
||||
// #define PUGIXML_NO_EXCEPTIONS
|
||||
|
||||
// Set this to control attributes for public classes/functions, i.e.:
|
||||
// #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
|
||||
// #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
|
||||
// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
|
||||
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
|
||||
|
||||
// Tune these constants to adjust memory-related behavior
|
||||
// #define PUGIXML_MEMORY_PAGE_SIZE 32768
|
||||
// #define PUGIXML_MEMORY_OUTPUT_STACK 10240
|
||||
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
|
||||
|
||||
// Uncomment this to switch to header-only version
|
||||
// #define PUGIXML_HEADER_ONLY
|
||||
|
||||
// Uncomment this to enable long long support
|
||||
#define PUGIXML_HAS_LONG_LONG
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Copyright (c) 2006-2019 Arseny Kapoulkine
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
1490
module/Vendor/PUGIXML/include/pugixml.hpp
vendored
Normal file
1490
module/Vendor/PUGIXML/include/pugixml.hpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
12948
module/Vendor/PUGIXML/pugixml.cpp
vendored
Normal file
12948
module/Vendor/PUGIXML/pugixml.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
module/Vendor/SQLite/CMakeLists.txt
vendored
Normal file
7
module/Vendor/SQLite/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# Create library
|
||||
add_library(SQLite STATIC include/sqlite3.h sqlite3.c)
|
||||
# Configure include folders
|
||||
target_include_directories(SQLite PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_include_directories(SQLite PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
# Configure macro options
|
||||
target_compile_definitions(SQLite PRIVATE _WIN32_WINNT=0x0601 SQLITE_ENABLE_FTS3=1 SQLITE_ENABLE_FTS4=1 SQLITE_ENABLE_FTS5=1 SQLITE_ENABLE_JSON1=1 SQLITE_ENABLE_RTREE=1 SQLITE_ENABLE_GEOPOLY=1)
|
12084
module/Vendor/SQLite/include/sqlite3.h
vendored
Normal file
12084
module/Vendor/SQLite/include/sqlite3.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
69
module/Vendor/SQLite/license.txt
vendored
Normal file
69
module/Vendor/SQLite/license.txt
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
Copyright Release for
|
||||
Contributions To SQLite
|
||||
|
||||
|
||||
SQLite is software that implements an embeddable SQL database engine.
|
||||
SQLite is available for free download from http://www.sqlite.org/.
|
||||
The principal author and maintainer of SQLite has disclaimed all
|
||||
copyright interest in his contributions to SQLite
|
||||
and thus released his contributions into the public domain.
|
||||
In order to keep the SQLite software unencumbered by copyright
|
||||
claims, the principal author asks others who may from time to
|
||||
time contribute changes and enhancements to likewise disclaim
|
||||
their own individual copyright interest.
|
||||
|
||||
Because the SQLite software found at http://www.sqlite.org/ is in the
|
||||
public domain, anyone is free to download the SQLite software
|
||||
from that website, make changes to the software, use, distribute,
|
||||
or sell the modified software, under either the original name or
|
||||
under some new name, without any need to obtain permission, pay
|
||||
royalties, acknowledge the original source of the software, or
|
||||
in any other way compensate, identify, or notify the original authors.
|
||||
Nobody is in any way compelled to contribute their SQLite changes and
|
||||
enhancements back to the SQLite website. This document concerns
|
||||
only changes and enhancements to SQLite that are intentionally and
|
||||
deliberately contributed back to the SQLite website.
|
||||
|
||||
For the purposes of this document, "SQLite software" shall mean any
|
||||
computer source code, documentation, makefiles, test scripts, or
|
||||
other information that is published on the SQLite website,
|
||||
http://www.sqlite.org/. Precompiled binaries are excluded from
|
||||
the definition of "SQLite software" in this document because the
|
||||
process of compiling the software may introduce information from
|
||||
outside sources which is not properly a part of SQLite.
|
||||
|
||||
The header comments on the SQLite source files exhort the reader to
|
||||
share freely and to never take more than one gives.
|
||||
In the spirit of that exhortation I make the following declarations:
|
||||
|
||||
1) I dedicate to the public domain
|
||||
any and all copyright interest in the SQLite software that
|
||||
was publicly available on the SQLite website (http://www.sqlite.org/) prior
|
||||
to the date of the signature below and any changes or enhancements to
|
||||
the SQLite software
|
||||
that I may cause to be published on that website in the future.
|
||||
I make this dedication for the benefit of the public at large and
|
||||
to the detriment of my heirs and successors. I intend this
|
||||
dedication to be an overt act of relinquishment in perpetuity of
|
||||
all present and future rights to the SQLite software under copyright
|
||||
law.
|
||||
|
||||
2) To the best of my knowledge and belief, the changes and enhancements that
|
||||
I have contributed to SQLite are either originally written by me
|
||||
or are derived from prior works which I have verified are also
|
||||
in the public domain and are not subject to claims of copyright
|
||||
by other parties.
|
||||
|
||||
3) To the best of my knowledge and belief, no individual, business, organization,
|
||||
government, or other entity has any copyright interest
|
||||
in the SQLite software as it existed on the
|
||||
SQLite website as of the date on the signature line below.
|
||||
|
||||
4) I agree never to publish any additional information
|
||||
to the SQLite website (by CVS, email, scp, FTP, or any other means) unless
|
||||
that information is an original work of authorship by me or is derived from
|
||||
prior published versions of SQLite.
|
||||
I agree never to copy and paste code into the SQLite code base from
|
||||
other sources.
|
||||
I agree never to publish on the SQLite website any information that
|
||||
would violate a law or breach a contract.
|
228449
module/Vendor/SQLite/sqlite3.c
vendored
Normal file
228449
module/Vendor/SQLite/sqlite3.c
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user