Blame view

3rdparty/spdlog-1.9.2/cmake/ide.cmake 1.16 KB
3d2ab595   Hu Chunming   支持gb28181
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  # ---------------------------------------------------------------------------------------
  # IDE support for headers
  # ---------------------------------------------------------------------------------------
  set(SPDLOG_HEADERS_DIR "${CMAKE_CURRENT_LIST_DIR}/../include")
  
  file(GLOB SPDLOG_TOP_HEADERS "${SPDLOG_HEADERS_DIR}/spdlog/*.h")
  file(GLOB SPDLOG_DETAILS_HEADERS "${SPDLOG_HEADERS_DIR}/spdlog/details/*.h")
  file(GLOB SPDLOG_SINKS_HEADERS "${SPDLOG_HEADERS_DIR}/spdlog/sinks/*.h")
  file(GLOB SPDLOG_FMT_HEADERS "${SPDLOG_HEADERS_DIR}/spdlog/fmt/*.h")
  file(GLOB SPDLOG_FMT_BUNDELED_HEADERS "${SPDLOG_HEADERS_DIR}/spdlog/fmt/bundled/*.h")
  set(SPDLOG_ALL_HEADERS ${SPDLOG_TOP_HEADERS} ${SPDLOG_DETAILS_HEADERS} ${SPDLOG_SINKS_HEADERS} ${SPDLOG_FMT_HEADERS}
                         ${SPDLOG_FMT_BUNDELED_HEADERS})
  
  source_group("Header Files\\spdlog" FILES ${SPDLOG_TOP_HEADERS})
  source_group("Header Files\\spdlog\\details" FILES ${SPDLOG_DETAILS_HEADERS})
  source_group("Header Files\\spdlog\\sinks" FILES ${SPDLOG_SINKS_HEADERS})
  source_group("Header Files\\spdlog\\fmt" FILES ${SPDLOG_FMT_HEADERS})
  source_group("Header Files\\spdlog\\fmt\\bundled\\" FILES ${SPDLOG_FMT_BUNDELED_HEADERS})