]> git.seodisparate.com - c_simple_http/commitdiff
update README.md
authorStephen Seo <seo.disparate@gmail.com>
Fri, 6 Sep 2024 04:47:31 +0000 (13:47 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Fri, 6 Sep 2024 04:47:31 +0000 (13:47 +0900)
README.md

index df844cfce49cec98e45cee145c41c6f889328def..e5ebf22da2ef271390d994e01039aba675e54803 100644 (file)
--- a/README.md
+++ b/README.md
@@ -21,8 +21,15 @@ Without this, the project will fail to build.
     # Build the project.
     make c_simple_http
     
+    # Alternatively, build with cmake.
+    cmake -S . -B buildDebug && make -C buildDebug
+    
     # Run it with the example config.
+    # Note that the example config was designed such that it must be referred
+    # to from its parent directory.
     ./c_simple_http --config=example_config/example.config
+    # If built with cmake:
+    ./buildDebug/c_simple_http --config=example_config/example.config
     
     # If port is not specified, the server picks a random port.
     # This program should print which TCP port it is listening on.