I will murder cmake
This commit is contained in:
parent
0b97f124c5
commit
614ae1c711
5 changed files with 23 additions and 15 deletions
|
|
@ -1,10 +1,13 @@
|
|||
#include "crow.h"
|
||||
#include "ternarytrie.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
TernaryTrie *trie = ternarytrie_init();
|
||||
|
||||
crow::SimpleApp app;
|
||||
|
||||
CROW_ROUTE(app, "/")([](){
|
||||
CROW_ROUTE(app, "/").methods(crow::HTTPMethod::Get, crow::HTTPMethod::Post)([](){
|
||||
return "Hello world";
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue