Diag-Client-Lib
Functions
/home/runner/work/diag-client-lib/diag-client-lib/diag-client-lib/CMakeLists.txt File Reference

Functions

 cmake_minimum_required (VERSION 3.5) project(diag-client-lib) include(GNUInstallDirs) include(CMakePackageConfigHelpers) add_subdirectory($
 
lib add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR}/appl) install(EXPORT DiagClientLibTargets FILE DiagClientLibTargets.cmake DESTINATION $
 
cmake DiagClientLib configure_package_config_file (${CMAKE_CURRENT_SOURCE_DIR}/cmake/Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/DiagClientLibConfig.cmake" INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/DiagClientLib) install(FILES "$
 

Function Documentation

◆ add_subdirectory()

uds transport layer api add_subdirectory (   ${CMAKE_CURRENT_SOURCE_DIR}/)

Definition at line 18 of file CMakeLists.txt.

18  {CMAKE_CURRENT_SOURCE_DIR}/appl)
19 
20 #Export library
21 install(EXPORT DiagClientLibTargets
22  FILE DiagClientLibTargets.cmake
23  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/DiagClientLib

◆ cmake_minimum_required()

cmake_minimum_required ( VERSION 3.  5)

Definition at line 8 of file CMakeLists.txt.

15  {CMAKE_CURRENT_SOURCE_DIR}/lib)

◆ configure_package_config_file()

cmake DiagClientLib configure_package_config_file (   ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/DiagClientLibConfig.cmake" INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/)

Definition at line 26 of file CMakeLists.txt.

27  {CMAKE_CURRENT_SOURCE_DIR}/cmake/Config.cmake.in
28  "${CMAKE_CURRENT_BINARY_DIR}/DiagClientLibConfig.cmake"
29  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/DiagClientLib
30 )
31 
32 install(FILES
33  "${CMAKE_CURRENT_BINARY_DIR}/DiagClientLibConfig.cmake"