Skip to content

Commit

Permalink
Threads (#5)
Browse files Browse the repository at this point in the history
* fixed some typos

* added multiple threads

---------

Co-authored-by: mrtuxa <mrtuxa@infra-sys.de>
  • Loading branch information
mrtuxa and mrtuxa authored Aug 12, 2023
1 parent b0da8b5 commit ea4177b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ int main(int argc, char *argv[]) {
<< "\tversion : '" << argv[2] << "',\n"
<< "\tdefault_options : ['warning_level=3',\n"
<< "\t\t\t 'cpp_std=c++" << argv[3] << "'])\n\n"
<< "thread_dep = dependency('threads')\n\n"
<< "exe = executable('" << argv[1] << "', 'src/main.cpp',\n"
<< "\tinstall : true)\n\n"
<< "\tinstall : true, dependencies : thread_dep)\n\n"
<< "test('basic', exe)\n";

// create source dir
Expand Down

0 comments on commit ea4177b

Please sign in to comment.