updated project
This commit is contained in:
parent
79b152bd67
commit
24a2a69e71
3 changed files with 36 additions and 18 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +1,2 @@
|
||||||
buid/
|
build/
|
||||||
bin/
|
bin/
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
/*
|
||||||
|
Crafter.Thread
|
||||||
|
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;
|
module;
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
|
||||||
32
project.json
32
project.json
|
|
@ -7,27 +7,25 @@
|
||||||
"source_files": ["Crafter.Thread-ThreadPool"],
|
"source_files": ["Crafter.Thread-ThreadPool"],
|
||||||
"module_files": ["Crafter.Thread", "Crafter.Thread-ThreadPool"],
|
"module_files": ["Crafter.Thread", "Crafter.Thread-ThreadPool"],
|
||||||
"additional_files": [],
|
"additional_files": [],
|
||||||
"build_dir": "./build",
|
"build_dir": "build",
|
||||||
"output_dir": "./bin"
|
"output_dir": "bin",
|
||||||
|
"type":"library"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "test",
|
"name": "lib-debug",
|
||||||
|
"extends": ["base"],
|
||||||
|
"debug": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lib-release",
|
||||||
|
"extends": ["base"],
|
||||||
|
"optimization_level": "3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "develop",
|
||||||
"source_files": ["main"],
|
"source_files": ["main"],
|
||||||
"extends": ["base"],
|
"extends": ["lib-debug"],
|
||||||
"optimization_level": "0",
|
|
||||||
"type":"executable"
|
"type":"executable"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"extends": ["base"],
|
|
||||||
"optimization_level": "0",
|
|
||||||
"type":"library"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "release",
|
|
||||||
"extends": ["base"],
|
|
||||||
"optimization_level": "3",
|
|
||||||
"type":"library"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue