Crafter.Build update

This commit is contained in:
Jorijn van der Graaf 2025-11-02 06:47:04 +01:00
commit 3924c21af1
6 changed files with 59 additions and 52 deletions

View file

@ -2,30 +2,32 @@
"name": "crafter-thread",
"configurations": [
{
"name": "base",
"standard": "c++26",
"source_files": ["Crafter.Thread-ThreadPool"],
"module_files": ["Crafter.Thread", "Crafter.Thread-ThreadPool"],
"additional_files": [],
"build_dir": "build",
"output_dir": "bin",
"name": "lib",
"interfaces": ["interfaces/Crafter.Thread", "interfaces/Crafter.Thread-ThreadPool"],
"implementations": ["implementations/Crafter.Thread-ThreadPool"],
"type":"library"
},
{
"name": "lib-shared",
"extends": ["lib"],
"type":"shared-library"
},
{
"name": "lib-debug",
"extends": ["base"],
"extends": ["lib"],
"debug": true
},
}
],
"tests":[
{
"name": "lib-release",
"extends": ["base"],
"optimization_level": "3"
},
{
"name": "develop",
"source_files": ["main"],
"extends": ["lib-debug"],
"type":"executable"
"name": "should-compile",
"implementations": ["tests/ShouldCompile/ShouldCompile"],
"dependencies": [
{
"path":"./project.json",
"configuration":"lib-shared"
}
]
}
]
}