new structure

This commit is contained in:
Jorijn van der Graaf 2025-11-16 15:05:48 +01:00
commit 70f91b63c6
2 changed files with 4 additions and 16 deletions

View file

@ -18,14 +18,8 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
module;
#include <map>
#include <functional>
#include <vector>
#include <algorithm>
export module Crafter.Event; export module Crafter.Event;
import std;
namespace Crafter { namespace Crafter {
export template <class T> export template <class T>

View file

@ -3,12 +3,7 @@
"configurations": [ "configurations": [
{ {
"name": "base", "name": "base",
"standard": "c++26", "interfaces": ["interfaces/Crafter.Event"],
"source_files": [],
"module_files": ["Crafter.Event"],
"additional_files": [],
"build_dir": "build",
"output_dir": "bin",
"type":"library" "type":"library"
}, },
{ {
@ -23,13 +18,12 @@
] ]
}, },
{ {
"name": "lib-release", "name": "lib",
"extends": ["base"], "extends": ["base"],
"optimization_level": "3",
"dependencies": [ "dependencies": [
{ {
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Thread.git", "path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Thread.git",
"configuration":"lib-release" "configuration":"lib"
} }
] ]
} }