Advertisement
vladislav_larionov

Untitled

Jan 9th, 2024
1,585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.87 KB | None | 0 0
  1. # SPDX-FileCopyrightText: 2023 Open Mobile Platform LLC <community@omp.ru>
  2. # SPDX-License-Identifier: BSD-3-Clause
  3.  
  4. cmake_minimum_required (VERSION 2.8)
  5.  
  6. project(encoding_server)
  7.  
  8. include(GNUInstallDirs)
  9.  
  10. add_executable(${PROJECT_NAME}
  11.     src/encodingserver.cpp
  12.     src/requesthandler.h
  13.     src/requesthandler.cpp
  14. )
  15.  
  16. target_include_directories(${PROJECT_NAME} PRIVATE
  17.     $<BUILD_INTERFACE:
  18.     ${AURORA_INCLUDE_DIRS}
  19. >)
  20.  
  21. message("!!! ${CMAKE_SOURCE_DIR}/3rdparty/HttpServer/HttpServer/src")
  22. message("!!! ${CMAKE_BINARY_DIR}/3rdparty/HttpServer")
  23.  
  24. target_include_directories(${PROJECT_NAME} PUBLIC
  25.     ${CMAKE_SOURCE_DIR}/3rdparty/HttpServer/HttpServer/src
  26.     "${PROJECT_BINARY_DIR}"
  27. )
  28.  
  29. target_link_libraries(${PROJECT_NAME}
  30.     HttpServer
  31. )
  32.  
  33. install(TARGETS ${PROJECT_NAME}
  34.     RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/ru.auroraos.ProcessLauncher/
  35. )
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement