I will murder cmake

This commit is contained in:
Jef Roosens 2022-11-15 17:05:14 +01:00
parent 0b97f124c5
commit 614ae1c711
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 23 additions and 15 deletions

View file

@ -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";
});