Crafter.Build update
This commit is contained in:
parent
24a2a69e71
commit
3924c21af1
6 changed files with 59 additions and 52 deletions
38
project.json
38
project.json
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue