From b49579f5bc75afef1b97a487acd0a290d371f9e6 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Wed, 7 May 2025 19:04:24 +0200 Subject: [PATCH] updated project --- Crafter.Component-Component.cppm | 20 ++++++++++++++++++++ Crafter.Component-ComponentRef.cppm | 20 ++++++++++++++++++++ Crafter.Component.cppm | 20 ++++++++++++++++++++ project.json | 17 ++++++++--------- 4 files changed, 68 insertions(+), 9 deletions(-) diff --git a/Crafter.Component-Component.cppm b/Crafter.Component-Component.cppm index 404fe7b..53a4987 100644 --- a/Crafter.Component-Component.cppm +++ b/Crafter.Component-Component.cppm @@ -1,3 +1,23 @@ +/* +Crafter.Build +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/Crafter.Component-ComponentRef.cppm b/Crafter.Component-ComponentRef.cppm index 607cb21..3d14860 100644 --- a/Crafter.Component-ComponentRef.cppm +++ b/Crafter.Component-ComponentRef.cppm @@ -1,3 +1,23 @@ +/* +Crafter.Build +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/Crafter.Component.cppm b/Crafter.Component.cppm index 778458a..9c73fd8 100644 --- a/Crafter.Component.cppm +++ b/Crafter.Component.cppm @@ -1,3 +1,23 @@ +/* +Crafter.Build +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 +*/ + export module Crafter.Component; export import :Component; diff --git a/project.json b/project.json index 3f01f2e..2bd89ae 100644 --- a/project.json +++ b/project.json @@ -7,30 +7,29 @@ "source_files": ["Crafter.Component-Component"], "module_files": ["Crafter.Component","Crafter.Component-ComponentRef","Crafter.Component-Component"], "additional_files": [], - "build_dir": "./build", - "output_dir": "./bin", + "build_dir": "build", + "output_dir": "bin", "type":"library" }, { - "name": "debug", + "name": "lib-debug", "extends": ["base"], - "optimization_level": "0", "debug":true, "dependencies": [ { - "path":"/home/jorijn/repos/Crafter/Crafter.Event/project.json", - "configuration":"debug" + "path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git", + "configuration":"lib-debug" } ] }, { - "name": "release", + "name": "lib-release", "extends": ["base"], "optimization_level": "3", "dependencies": [ { - "path":"/home/jorijn/repos/Crafter/Crafter.Event/project.json", - "configuration":"debug" + "path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git", + "configuration":"lib-release" } ] }