Add license files for all third party modules explicitly (even if using predefined license defined in config)
This commit is contained in:
33
Source/ThirdParty/LZ4/LICENSE.txt
vendored
Normal file
33
Source/ThirdParty/LZ4/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
LZ4 - Fast LZ compression algorithm
|
||||
Copyright (C) 2011-2017, Yann Collet.
|
||||
|
||||
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
You can contact the author at :
|
||||
- LZ4 homepage : http://www.lz4.org
|
||||
- LZ4 source repository : https://github.com/lz4/lz4
|
||||
*/
|
||||
1
Source/ThirdParty/LZ4/lz4.Build.cs
vendored
1
Source/ThirdParty/LZ4/lz4.Build.cs
vendored
@@ -13,5 +13,6 @@ public class lz4 : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.BSD2Clause;
|
||||
LicenseFilePath = "LICENSE.txt";
|
||||
}
|
||||
}
|
||||
|
||||
21
Source/ThirdParty/OpenFBX/LICENSE.txt
vendored
Normal file
21
Source/ThirdParty/OpenFBX/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 Mikulas Florek
|
||||
|
||||
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.
|
||||
1
Source/ThirdParty/OpenFBX/OpenFBX.Build.cs
vendored
1
Source/ThirdParty/OpenFBX/OpenFBX.Build.cs
vendored
@@ -13,5 +13,6 @@ public class OpenFBX : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.MIT;
|
||||
LicenseFilePath = "LICENSE.txt";
|
||||
}
|
||||
}
|
||||
|
||||
29
Source/ThirdParty/UniversalAnalytics/LICENSE.txt
vendored
Normal file
29
Source/ThirdParty/UniversalAnalytics/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2013-2014, Adswerve, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -14,6 +14,7 @@ public class UniversalAnalytics : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.BSD3Clause;
|
||||
LicenseFilePath = "LICENSE.txt";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
1
Source/ThirdParty/fmt/fmt.Build.cs
vendored
1
Source/ThirdParty/fmt/fmt.Build.cs
vendored
@@ -15,6 +15,7 @@ public class fmt : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.BSD2Clause;
|
||||
LicenseFilePath = "cppformat license.txt";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -13,5 +13,6 @@ public class meshoptimizer : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.MIT;
|
||||
LicenseFilePath = "LICENSE.md";
|
||||
}
|
||||
}
|
||||
|
||||
1
Source/ThirdParty/pugixml/pugixml.Build.cs
vendored
1
Source/ThirdParty/pugixml/pugixml.Build.cs
vendored
@@ -13,5 +13,6 @@ public class pugixml : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.MIT;
|
||||
LicenseFilePath = "pugixml license.txt";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ public class rapidjson : HeaderOnlyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.MIT;
|
||||
LicenseFilePath = "RapidJSON license.txt";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -13,5 +13,6 @@ public class recastnavigation : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.zLib;
|
||||
LicenseFilePath = "License.txt";
|
||||
}
|
||||
}
|
||||
|
||||
19
Source/ThirdParty/volk/LICENSE.txt
vendored
Normal file
19
Source/ThirdParty/volk/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2018-2019 Arseny Kapoulkine
|
||||
|
||||
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.
|
||||
1
Source/ThirdParty/volk/volk.Build.cs
vendored
1
Source/ThirdParty/volk/volk.Build.cs
vendored
@@ -14,6 +14,7 @@ public class volk : ThirdPartyModule
|
||||
base.Init();
|
||||
|
||||
LicenseType = LicenseTypes.MIT;
|
||||
LicenseFilePath = "LICENSE.txt";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -199,9 +199,9 @@ namespace Flax.Build
|
||||
// Perform license validation
|
||||
if (LicenseType == LicenseTypes.Invalid)
|
||||
throw new Exception(string.Format("Cannot build module {0}. Third Party modules must have license type specified.", Name));
|
||||
if (LicenseType == LicenseTypes.Custom && LicenseFilePath == null)
|
||||
throw new Exception(string.Format("Cannot build module {0}. Third Party modules with Custom license must have license file specified.", Name));
|
||||
if (LicenseFilePath != null && !File.Exists(Path.Combine(FolderPath, LicenseFilePath)))
|
||||
if (LicenseFilePath == null)
|
||||
throw new Exception(string.Format("Cannot build module {0}. Third Party modules must have license file specified.", Name));
|
||||
if (!File.Exists(Path.Combine(FolderPath, LicenseFilePath)))
|
||||
throw new Exception(string.Format("Cannot build module {0}. Specified license file does not exist.", Name));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user