Added paths.json file that contain paths

This commit is contained in:
kdeng00
2019-08-22 19:49:17 -04:00
parent 2a8290a929
commit 592853695d
3 changed files with 11 additions and 4 deletions
+1
View File
@@ -78,6 +78,7 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/oatpp)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/appsettings.json ${CMAKE_BINARY_DIR}/bin/appsettings.json COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/appsettings.json ${CMAKE_BINARY_DIR}/bin/appsettings.json COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/authcredentials.json ${CMAKE_BINARY_DIR}/bin/authcredentials.json COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/authcredentials.json ${CMAKE_BINARY_DIR}/bin/authcredentials.json COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/database.json ${CMAKE_BINARY_DIR}/bin/database.json COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/database.json ${CMAKE_BINARY_DIR}/bin/database.json COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.json ${CMAKE_BINARY_DIR}/bin/paths.json COPYONLY)
add_executable(icarus ${SOURCES} ${HEADERS}) add_executable(icarus ${SOURCES} ${HEADERS})
target_include_directories(icarus PUBLIC ${JWT_CPP_INCLUDE}) target_include_directories(icarus PUBLIC ${JWT_CPP_INCLUDE})
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"Domain": "[domain].auth0.com", "domain": "[domain].auth0.com",
"ApiIdentifier": "https://[identifier]/api", "api_identifier": "https://[identifier]/api",
"ClientId": "dfdfdfdf", "client_id": "dfdfdfdf",
"ClientSecret": "dfdfdfdf" "client_secret": "dfdfdfdf"
} }
+6
View File
@@ -0,0 +1,6 @@
{
"root_music_path": "/icarus/music/",
"temp_root_path": "/icarus/temp/",
"cover_root_path": "/icarus/cover/",
"archive_root_path": "icarus/archive/"
}