Skip to content

Conversation

@aloussase
Copy link
Contributor

This allows us to do:

return crow::mustache::load("index.mustache").render({ { "key", "value" } });

Rather than:

crow::mustache::context ctx{ {"key", "value"} };
return crow::mustache::load("index.mustache").render(ctx);
@The-EDev
Copy link
Member

The-EDev commented Jun 20, 2022

CMake Error in CMakeLists.txt:

  Target "Crow" INTERFACE_INCLUDE_DIRECTORIES property contains path:


    "/drone/src/ASIO_INCLUDE_DIR-NOTFOUND"


  which is prefixed in the source directory.

@luca-schlecker any idea how to deal with this?

Edit: nevermind, seems like merging master fixed the issue

Copy link
Member

@The-EDev The-EDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies for the delay, merging now

@The-EDev The-EDev merged commit d7b3106 into CrowCpp:master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants