-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #928 from eressea/vcpkg
Vcpkg
- Loading branch information
Showing
58 changed files
with
621 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
tolua/ | ||
.vscode/ | ||
*.orig | ||
eressea.ini | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
[submodule "dlmalloc"] | ||
path = dlmalloc | ||
url = https://github.com/ennorehling/dlmalloc.git | ||
[submodule "iniparser"] | ||
path = iniparser | ||
url = https://github.com/ennorehling/iniparser.git | ||
[submodule "cJSON"] | ||
path = cJSON | ||
url = https://github.com/ennorehling/cJSON.git | ||
[submodule "storage"] | ||
path = storage | ||
url = https://github.com/ennorehling/storage.git | ||
branch = master | ||
[submodule "clibs"] | ||
path = clibs | ||
url = https://github.com/ennorehling/clibs | ||
[submodule "tolua"] | ||
path = tolua | ||
url = https://github.com/ennorehling/tolua.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cJSON
deleted from
460207
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | ||
# file Copyright.txt or https://cmake.org/licensing for details. | ||
|
||
#[=======================================================================[.rst: | ||
FindCJSON | ||
----------- | ||
.. versionadded:: 3.20 | ||
Find the cJSON libraries, v3 | ||
IMPORTED targets | ||
^^^^^^^^^^^^^^^^ | ||
This module defines the following :prop_tgt:`IMPORTED` target: | ||
``DaveGamble::CJSON`` | ||
Result variables | ||
^^^^^^^^^^^^^^^^ | ||
This module will set the following variables if found: | ||
``CJSON_INCLUDE_DIRS`` | ||
where to find sqlite3.h, etc. | ||
``CJSON_LIBRARIES`` | ||
the libraries to link against to use CJSON. | ||
``CJSON_VERSION`` | ||
version of the CJSON library found | ||
``CJSON_FOUND`` | ||
TRUE if found | ||
#]=======================================================================] | ||
|
||
# Look for the necessary header | ||
find_path(CJSON_INCLUDE_DIR cJSON.h PATH_SUFFIXES cjson) | ||
mark_as_advanced(CJSON_INCLUDE_DIR) | ||
|
||
# Look for the necessary library | ||
find_library(CJSON_LIBRARY cjson) | ||
mark_as_advanced(CJSON_LIBRARY) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(CJSON | ||
REQUIRED_VARS CJSON_INCLUDE_DIR CJSON_LIBRARY | ||
VERSION_VAR CJSON_VERSION) | ||
|
||
# Create the imported target | ||
if(CJSON_FOUND) | ||
set(CJSON_INCLUDE_DIRS ${CJSON_INCLUDE_DIR}) | ||
set(CJSON_LIBRARIES ${CJSON_LIBRARY}) | ||
if(NOT TARGET DaveGamble::CJSON) | ||
add_library(DaveGamble::CJSON UNKNOWN IMPORTED) | ||
set_target_properties(DaveGamble::CJSON PROPERTIES | ||
IMPORTED_LOCATION "${CJSON_LIBRARY}" | ||
INTERFACE_INCLUDE_DIRECTORIES "${CJSON_INCLUDE_DIR}") | ||
endif() | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | ||
# file Copyright.txt or https://cmake.org/licensing for details. | ||
|
||
#[=======================================================================[.rst: | ||
FindIniParser | ||
----------- | ||
.. versionadded:: 3.20 | ||
Find the IniParser libraries, v3 | ||
IMPORTED targets | ||
^^^^^^^^^^^^^^^^ | ||
This module defines the following :prop_tgt:`IMPORTED` target: | ||
``Devillard::IniParser`` | ||
Result variables | ||
^^^^^^^^^^^^^^^^ | ||
This module will set the following variables if found: | ||
``IniParser_INCLUDE_DIRS`` | ||
where to find sqlite3.h, etc. | ||
``IniParser_LIBRARIES`` | ||
the libraries to link against to use IniParser. | ||
``IniParser_VERSION`` | ||
version of the IniParser library found | ||
``IniParser_FOUND`` | ||
TRUE if found | ||
#]=======================================================================] | ||
|
||
# Look for the necessary header | ||
find_path(IniParser_INCLUDE_DIR iniparser.h PATH_SUFFIXES iniparser) | ||
mark_as_advanced(IniParser_INCLUDE_DIR) | ||
|
||
# Look for the necessary library | ||
find_library(IniParser_LIBRARY iniparser) | ||
mark_as_advanced(IniParser_LIBRARY) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(IniParser | ||
REQUIRED_VARS IniParser_INCLUDE_DIR IniParser_LIBRARY | ||
VERSION_VAR IniParser_VERSION) | ||
|
||
# Create the imported target | ||
if(IniParser_FOUND) | ||
set(IniParser_INCLUDE_DIRS ${IniParser_INCLUDE_DIR}) | ||
set(IniParser_LIBRARIES ${IniParser_LIBRARY}) | ||
if(NOT TARGET Devillard::IniParser) | ||
add_library(Devillard::IniParser UNKNOWN IMPORTED) | ||
set_target_properties(Devillard::IniParser PROPERTIES | ||
IMPORTED_LOCATION "${IniParser_LIBRARY}" | ||
INTERFACE_INCLUDE_DIRECTORIES "${IniParser_INCLUDE_DIR}") | ||
endif() | ||
endif() | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.