mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
37940d2cc0
happen again
16 lines
310 B
C++
16 lines
310 B
C++
// Test of a project containing more than 1 source file which includes Crow headers.
|
|
// The test succeeds if the project is linked successfully.
|
|
#include "crow.h"
|
|
|
|
int main()
|
|
{
|
|
crow::SimpleApp app;
|
|
|
|
CROW_ROUTE(app, "/")
|
|
([]() {
|
|
return "Hello, world!";
|
|
});
|
|
|
|
app.port(18080).run();
|
|
}
|