add mio single_header 3f86a95c0784d73ce6815237ec33ed25f233b643
This commit is contained in:
parent
a83b317451
commit
e251a3ce51
3
external/CMakeLists.txt
vendored
3
external/CMakeLists.txt
vendored
@ -1,5 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
||||||
|
|
||||||
|
add_subdirectory(./mio)
|
||||||
|
add_subdirectory(./sha1)
|
||||||
|
|
||||||
add_subdirectory(./toxcore)
|
add_subdirectory(./toxcore)
|
||||||
add_subdirectory(./tox_ngc_ext)
|
add_subdirectory(./tox_ngc_ext)
|
||||||
add_subdirectory(./tox_ngc_ft1)
|
add_subdirectory(./tox_ngc_ft1)
|
||||||
|
13
external/mio/CMakeLists.txt
vendored
Normal file
13
external/mio/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.8)
|
||||||
|
|
||||||
|
project(mio VERSION 1.1.0 LANGUAGES C CXX)
|
||||||
|
|
||||||
|
add_library(mio INTERFACE)
|
||||||
|
add_library(mio::mio ALIAS mio)
|
||||||
|
|
||||||
|
target_compile_features(mio INTERFACE cxx_std_11)
|
||||||
|
|
||||||
|
target_compile_definitions(mio INTERFACE WIN32_LEAN_AND_MEAN NOMINMAX)
|
||||||
|
|
||||||
|
target_include_directories(mio INTERFACE "single_include")
|
||||||
|
|
21
external/mio/LICENSE
vendored
Normal file
21
external/mio/LICENSE
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2018 https://github.com/mandreyel/
|
||||||
|
|
||||||
|
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.
|
1760
external/mio/single_include/mio/mio.hpp
vendored
Normal file
1760
external/mio/single_include/mio/mio.hpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user