coder137 / build_in_cpp

Build C, C++ and ASM files in C++
https://coder137.github.io/build_in_cpp/
Apache License 2.0
50 stars 2 forks source link

Register with Unique IDs #135

Closed coder137 closed 2 years ago

coder137 commented 2 years ago

To remove confusion between the usage of Target::GetTargetPath and Target::GetBinaryPath usage in the Register module, introduce a Unique ID parameter that is guaranteed to be unique as long as

are unique in the project

codecov[bot] commented 2 years ago

Codecov Report

Merging #135 (e0e43cc) into main (2ddb4d8) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   99.23%   99.24%   +0.01%     
==========================================
  Files          43       43              
  Lines        1169     1177       +8     
  Branches      334      332       -2     
==========================================
+ Hits         1160     1168       +8     
  Partials        9        9              
Impacted Files Coverage Δ
buildcc/lib/target/src/target/build.cpp 91.89% <ø> (-0.21%) :arrow_down:
buildcc/lib/args/include/args/register.h 100.00% <100.00%> (ø)
buildcc/lib/args/src/register.cpp 100.00% <100.00%> (ø)
...ldcc/lib/target/include/target/builder_interface.h 100.00% <100.00%> (ø)
buildcc/lib/target/include/target/generator.h 100.00% <100.00%> (ø)
buildcc/lib/target/src/target/target.cpp 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2ddb4d8...e0e43cc. Read the comment docs.