diff --git a/CMakeLists.txt b/CMakeLists.txt index c9b798e5e..141f9b4e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,10 @@ add_custom_command( WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} ) -install(FILES README.md LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) +install( + FILES LICENSE README.md THIRD_PARTY.md + DESTINATION ${CMAKE_INSTALL_DOCDIR} +) # rebuild version.hpp every time add_custom_target(get_git_hash ALL diff --git a/Descent3/CMakeLists.txt b/Descent3/CMakeLists.txt index 14fa3070d..d42eb2289 100644 --- a/Descent3/CMakeLists.txt +++ b/Descent3/CMakeLists.txt @@ -308,10 +308,3 @@ install(TARGETS Descent3 RUNTIME) if(BUILD_TESTING) add_subdirectory(tests) endif() - -add_custom_target(LicenseFiles - COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_SOURCE_DIR}/LICENSE" $ - COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_SOURCE_DIR}/third_party_licenses" "$/Third-party licenses" - COMMENT "Create license files" -) -add_dependencies(Descent3 LicenseFiles) diff --git a/THIRD_PARTY.md b/THIRD_PARTY.md new file mode 100644 index 000000000..def227349 --- /dev/null +++ b/THIRD_PARTY.md @@ -0,0 +1,56 @@ +# Third party components + +This file contains information about third party components, required for +building Descent 3. + +## libacm + +libacm - library for InterPlay ACM Audio format. https://github.com/markokr/libacm + +* libacm/decode.c +* libacm/libacm.h + +The libacm core code is licensed under minimal BSD/ISC license. + +``` +Copyright (c) 2004-2010, Marko Kreen + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +``` + +## stb + +Single-file public domain (or MIT licensed) libraries for C/C++. https://github.com/nothings/stb + +* third_party/stb/stb_image_write.h + +The stb code is licensed under MIT license. + +``` +Copyright (c) 2017 Sean Barrett +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/third_party_licenses/libacm.txt b/third_party_licenses/libacm.txt deleted file mode 100644 index f336d974b..000000000 --- a/third_party_licenses/libacm.txt +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2004-2010, Marko Kreen - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.