Правка подключения заголовочных файлов
This commit is contained in:
parent
7a3023ab8b
commit
576bafd70b
@ -31,7 +31,7 @@ add_dependencies(${TRGT} base_static)
|
|||||||
add_dependencies(${TRGT} filesystem_static)
|
add_dependencies(${TRGT} filesystem_static)
|
||||||
|
|
||||||
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
|
|
||||||
target_link_libraries(${TRGT} myx-filesystem)
|
target_link_libraries(${TRGT} myx-filesystem)
|
||||||
target_link_libraries(${TRGT} Qt5::Core)
|
target_link_libraries(${TRGT} Qt5::Core)
|
||||||
|
@ -38,7 +38,7 @@ add_dependencies(${TRGT} qt_static)
|
|||||||
|
|
||||||
# Qt5
|
# Qt5
|
||||||
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
|
|
||||||
target_link_libraries(${TRGT} myx-qt)
|
target_link_libraries(${TRGT} myx-qt)
|
||||||
target_link_libraries(${TRGT} Qt5::Core)
|
target_link_libraries(${TRGT} Qt5::Core)
|
||||||
|
@ -31,7 +31,7 @@ add_pvs_check(${TRGT})
|
|||||||
# Создание цели для автоматического форматирования кода
|
# Создание цели для автоматического форматирования кода
|
||||||
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
||||||
|
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
|
|
||||||
cotire(${TRGT})
|
cotire(${TRGT})
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ add_pvs_check(${TRGT})
|
|||||||
# Создание цели для автоматического форматирования кода
|
# Создание цели для автоматического форматирования кода
|
||||||
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
||||||
|
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
target_include_directories(${TRGT} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
||||||
|
|
||||||
cotire(${TRGT})
|
cotire(${TRGT})
|
||||||
|
@ -42,8 +42,8 @@ add_pvs_check(${TRGT})
|
|||||||
# Создание цели для автоматического форматирования кода
|
# Создание цели для автоматического форматирования кода
|
||||||
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
||||||
|
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
target_include_directories(${TRGT} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
||||||
|
|
||||||
cotire(${TRGT})
|
cotire(${TRGT})
|
||||||
|
@ -30,8 +30,8 @@ add_pvs_check(${TRGT})
|
|||||||
# Создание цели для автоматического форматирования кода
|
# Создание цели для автоматического форматирования кода
|
||||||
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
||||||
|
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
target_include_directories(${TRGT} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
|
|
||||||
cotire(${TRGT})
|
cotire(${TRGT})
|
||||||
|
|
||||||
|
@ -38,9 +38,9 @@ add_pvs_check(${TRGT})
|
|||||||
# Создание цели для автоматического форматирования кода
|
# Создание цели для автоматического форматирования кода
|
||||||
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
add_format_sources(${TRGT} ${TRGT_sources} ${TRGT_headers})
|
||||||
|
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||||
target_include_directories(${TRGT} SYSTEM PUBLIC ${Qt5Network_INCLUDE_DIRS})
|
target_include_directories(${TRGT} PUBLIC ${Qt5Network_INCLUDE_DIRS})
|
||||||
target_include_directories(${TRGT} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_SOURCE_DIR}/src)
|
||||||
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
target_include_directories(${TRGT} PRIVATE ${CMAKE_BINARY_DIR}/include)
|
||||||
|
|
||||||
cotire(${TRGT})
|
cotire(${TRGT})
|
||||||
|
Loading…
Reference in New Issue
Block a user