diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cdf1563 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Patrick Wuttke + +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. diff --git a/LibConf b/LibConf deleted file mode 100644 index 704a7a9..0000000 --- a/LibConf +++ /dev/null @@ -1,42 +0,0 @@ - -Import('env') - -mijin_sources = Split(""" - source/mijin/async/coroutine.cpp - source/mijin/debug/stacktrace.cpp - source/mijin/debug/symbol_info.cpp - source/mijin/io/process.cpp - source/mijin/io/stream.cpp - source/mijin/net/http.cpp - source/mijin/net/ip.cpp - source/mijin/net/socket.cpp - source/mijin/util/os.cpp - source/mijin/types/name.cpp - source/mijin/virtual_filesystem/filesystem.cpp - source/mijin/virtual_filesystem/stacked.cpp -""") - -dependencies = [] -if env['COMPILER_FAMILY'] in ('gcc', 'clang'): - lib_libbacktrace = env.Cook('libbacktrace') - dependencies.append(lib_libbacktrace) - -cppdefines = [] -if env['BUILD_TYPE'] == 'debug': - cppdefines += ['MIJIN_DEBUG=1', 'MIJIN_CHECKED_ITERATORS=1'] - - -lib_mijin = env.UnityStaticLibrary( - target = env['LIB_DIR'] + '/mijin', - source = mijin_sources, - dependencies = dependencies, - CPPDEFINES = list(env['CPPDEFINES']) + cppdefines -) - -LIB_CONFIG = { - 'CPPPATH': [env.Dir('source')], - 'CPPDEFINES': cppdefines, - 'DEPENDENCIES': [lib_mijin] -} - -Return('LIB_CONFIG')