Чистка проекта

This commit is contained in:
Andrei Astafev 2021-12-24 15:09:46 +03:00
parent 6f2d2361fd
commit 1e635fc7bb
5 changed files with 1 additions and 17 deletions

View File

@ -19,7 +19,7 @@ if(NOT DEFINED MYXLIB_MASTER_PROJECT)
endif()
endif()
find_package(MyxCMake 0.4.1 REQUIRED)
find_package(MyxCMake 0.4.4 REQUIRED)
#cmlib_set_cxx_standard(11)
option(MYXLIB_BUILD_EXAMPLES "Build examples" OFF)

View File

@ -19,7 +19,3 @@ target_sources(${TRGT} INTERFACE ${TRGT_cpp} ${TRGT_headers})
myx_cmake_generate_pkgconfig(${TRGT} BASENAME myx-${TRGT} INSTALL_LIBRARY ${MYXLIB_BUILD_LIBRARIES})
install(FILES ${TRGT_headers} COMPONENT dev
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/backports/compiler)
# Цель, используемая только для установки заголовочных файлов без компиляции проекта
add_custom_target(${TRGT}-install-headers COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=base-dev -P
"${CMAKE_BINARY_DIR}/cmake_install.cmake")

View File

@ -20,7 +20,3 @@ target_sources(${TRGT} INTERFACE ${TRGT_cpp} ${TRGT_headers})
myx_cmake_generate_pkgconfig(${TRGT} BASENAME myx-${TRGT} INSTALL_LIBRARY ${MYXLIB_BUILD_LIBRARIES})
install(FILES ${TRGT_headers} COMPONENT dev
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/backports/cpp)
# Цель, используемая только для установки заголовочных файлов без компиляции проекта
add_custom_target(${TRGT}-install-headers COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=dev -P
"${CMAKE_BINARY_DIR}/cmake_install.cmake")

View File

@ -19,7 +19,3 @@ target_sources(${TRGT} INTERFACE ${TRGT_cpp} ${TRGT_headers})
install(FILES ${TRGT_headers} COMPONENT dev
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/backports/qt)
myx_cmake_generate_pkgconfig(${TRGT} BASENAME myx-${TRGT} INSTALL_LIBRARY ${MYXLIB_BUILD_LIBRARIES})
# Цель, используемая только для установки заголовочных файлов без компиляции проекта
add_custom_target(${TRGT}-install-headers COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=dev -P
"${CMAKE_BINARY_DIR}/cmake_install.cmake")

View File

@ -24,7 +24,3 @@ target_include_directories(${TRGT} INTERFACE ${CMAKE_SOURCE_DIR}/src)
myx_cmake_generate_pkgconfig(${TRGT} BASENAME myx-${TRGT} INSTALL_LIBRARY ${MYXLIB_BUILD_LIBRARIES})
install(FILES ${TRGT_headers} COMPONENT dev
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/${TRGT})
# Цель, используемая только для установки заголовочных файлов без компиляции проекта
add_custom_target(${TRGT}-install-headers COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=dev -P
"${CMAKE_BINARY_DIR}/cmake_install.cmake")