diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ff6c491 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/build/ +/cmake-build-debug/ +/.idea/ diff --git a/MINWebServer/CMakeLists.txt b/MINWebServer/CMakeLists.txt index c799dfa..f904333 100644 --- a/MINWebServer/CMakeLists.txt +++ b/MINWebServer/CMakeLists.txt @@ -39,6 +39,7 @@ install(TARGETS MINWebServer MINWebServer_static ARCHIVE DESTINATION lib) install(DIRECTORY base DESTINATION include/MINWebServer FILES_MATCHING PATTERN "*.h") +install(DIRECTORY server DESTINATION include/MINWebServer FILES_MATCHING PATTERN "*.h") install(DIRECTORY common DESTINATION include/MINWebServer FILES_MATCHING PATTERN "*.h") install(DIRECTORY message DESTINATION include/MINWebServer FILES_MATCHING PATTERN "*.h") install(DIRECTORY utils DESTINATION include/MINWebServer FILES_MATCHING PATTERN "*.h") diff --git a/README.md b/README.md index e69de29..e30fd67 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,18 @@ +# MINWebServer + +## 1. Require + ```bash + ndn-cxx boost_system pthread boost_thread boost_log_setup boost_log + ``` + +## 2. Compile + ```bash + mkdir build + cd build + cmake ../ + make + sudo make install + ``` + +## 3. Usage + - First, link library `MINWebServer` \ No newline at end of file