diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d1df44..62d04fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,8 @@ endif () set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) +configure_file(config.json ${CMAKE_BUILD_RPATH} config.json COPYONLY) + add_executable(hello_async main.cpp src/http_server.cpp diff --git a/config.json b/config.json new file mode 100644 index 0000000..68c598d --- /dev/null +++ b/config.json @@ -0,0 +1,10 @@ +{ + "maps": { + "map1": { + "a": 123 + }, + "map2": { + "b": 456 + } + } +} \ No newline at end of file