Auto update
This commit is contained in:
parent
642312f996
commit
6672fa19bd
4907 changed files with 206456 additions and 171700 deletions
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <iterator>
|
||||
#include <sstream>
|
||||
|
||||
#include "Common.hpp"
|
||||
|
|
@ -53,8 +54,11 @@ public:
|
|||
managed.push_back(str);
|
||||
}
|
||||
|
||||
class iterator : public std::iterator<std::input_iterator_tag, const char*> {
|
||||
class iterator {
|
||||
public:
|
||||
using iterator_category = std::input_iterator_tag;
|
||||
using value_type = const char*;
|
||||
|
||||
iterator(const Segments* const _segments, size_t _cursor)
|
||||
: segments(_segments), cursor(_cursor) {}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "Common.hpp"
|
||||
#include "SerializableDict.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,19 +9,19 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "1.1.9")
|
||||
set(PACKAGE_VERSION "1.2.0")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("1.1.9" MATCHES "^([0-9]+)\\.")
|
||||
if("1.2.0" MATCHES "^([0-9]+)\\.")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
||||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "1.1.9")
|
||||
set(CVF_VERSION_MAJOR "1.2.0")
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION_RANGE)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ add_library(OpenCC::OpenCC STATIC IMPORTED)
|
|||
|
||||
set_target_properties(OpenCC::OpenCC PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/opencc"
|
||||
INTERFACE_LINK_LIBRARIES "marisa"
|
||||
INTERFACE_LINK_LIBRARIES "Marisa::marisa"
|
||||
)
|
||||
|
||||
# Load information for each installed configuration.
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
../../data
|
||||
Loading…
Add table
Add a link
Reference in a new issue