diff --git a/.gitignore b/.gitignore index afe57c5..4e9c87a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -buid/ +build/ bin/ \ No newline at end of file diff --git a/Crafter.Thread-ThreadPool.cpp b/Crafter.Thread-ThreadPool.cpp index d3fe9c4..1b410ec 100755 --- a/Crafter.Thread-ThreadPool.cpp +++ b/Crafter.Thread-ThreadPool.cpp @@ -1,3 +1,23 @@ +/* +Crafter.Thread +Copyright (C) 2025 Catcrafts +Catcrafts.net + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 3.0 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + module; #include diff --git a/project.json b/project.json index 723eead..276e4e7 100644 --- a/project.json +++ b/project.json @@ -7,27 +7,25 @@ "source_files": ["Crafter.Thread-ThreadPool"], "module_files": ["Crafter.Thread", "Crafter.Thread-ThreadPool"], "additional_files": [], - "build_dir": "./build", - "output_dir": "./bin" + "build_dir": "build", + "output_dir": "bin", + "type":"library" }, { - "name": "test", + "name": "lib-debug", + "extends": ["base"], + "debug": true + }, + { + "name": "lib-release", + "extends": ["base"], + "optimization_level": "3" + }, + { + "name": "develop", "source_files": ["main"], - "extends": ["base"], - "optimization_level": "0", + "extends": ["lib-debug"], "type":"executable" - }, - { - "name": "debug", - "extends": ["base"], - "optimization_level": "0", - "type":"library" - }, - { - "name": "release", - "extends": ["base"], - "optimization_level": "3", - "type":"library" } ] }