mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Change to out-of source build, Update build instructions (#3271)
* update build instructions Usage of "modern" CMake syntax and using specific out of source build. Further add example on how to build in parallel, build a specific target and how to change the compiler. This closes #3236.
This commit is contained in:
parent
34c0e67469
commit
8dd29e0a8a
23 changed files with 75 additions and 379 deletions
|
@ -31,18 +31,18 @@ while (my $line = <$fh>)
|
|||
if ($. % 20 == 19)
|
||||
{
|
||||
my $anno_id = $id - 1;
|
||||
qx{../src/task rc:perf.rc rc.gc=off $anno_id annotate $line};
|
||||
qx{../build/src/task rc:perf.rc rc.gc=off $anno_id annotate $line};
|
||||
print "[$.] task rc:perf.rc rc.gc=off $anno_id annotate $line\n" if $?;
|
||||
}
|
||||
elsif ($. % 4 == 1)
|
||||
{
|
||||
qx{../src/task rc:perf.rc rc.gc=off add $line};
|
||||
qx{../build/src/task rc:perf.rc rc.gc=off add $line};
|
||||
print "[$.] task rc:perf.rc rc.gc=off add $line\n" if $?;
|
||||
++$id;
|
||||
}
|
||||
else
|
||||
{
|
||||
qx{../src/task rc:perf.rc rc.gc=off log $line};
|
||||
qx{../build/src/task rc:perf.rc rc.gc=off log $line};
|
||||
print "[$.] task rc:perf.rc rc.gc=off log $line\n" if $?;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ fi
|
|||
# Allow override.
|
||||
if [[ -z $TASK ]]
|
||||
then
|
||||
TASK=../src/task
|
||||
TASK=../build/src/task
|
||||
fi
|
||||
|
||||
# Run benchmarks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue