crafter-build update

This commit is contained in:
Jorijn van der Graaf 2025-11-06 16:40:53 +01:00
commit c98cbc28dc
2 changed files with 6 additions and 33 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

@ -2,36 +2,15 @@
"name": "crafter-event", "name": "crafter-event",
"configurations": [ "configurations": [
{ {
"name": "base", "name": "lib",
"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"
}, },
{ {
"name": "lib-debug", "name": "lib-debug",
"extends": ["base"], "debug" : true,
"debug":true, "extends": ["lib"]
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Thread.git",
"configuration":"lib-debug"
}
]
},
{
"name": "lib-release",
"extends": ["base"],
"optimization_level": "3",
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Thread.git",
"configuration":"lib-release"
}
]
} }
] ]
} }