hkstreamer/CMakeLists.txt

43 lines
889 B
CMake
Raw Normal View History

2023-03-30 18:38:19 +08:00
# Created by and for Qt Creator This file was created for editing the project sources only.
# You may attempt to use it for building too, by modifying this file here.
cmake_minimum_required(VERSION 3.5)
project(hkstreamer)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include_directories(
include,
nlohmann
2023-03-30 18:38:19 +08:00
)
2023-03-30 23:26:52 +08:00
link_directories(
lib/
)
2023-03-30 18:38:19 +08:00
set (SRCS
include/DataType.h
include/DecodeCardSdk.h
include/HCNetSDK.h
include/HkStreamer.h
include/plaympeg4.h
2023-03-31 18:32:46 +08:00
include/cmdlineparser.h
include/convert.h
nlohmann/json.hpp
src/convert.cpp
2023-03-31 18:32:46 +08:00
src/HkStreamer.cpp
src/main.cpp
src/cmdlineparser.cpp
2023-03-30 18:38:19 +08:00
)
add_executable(${CMAKE_PROJECT_NAME} ${SRCS})
2023-03-30 23:26:52 +08:00
target_link_libraries(${CMAKE_PROJECT_NAME} libhcnetsdk.so)
2023-03-31 18:32:46 +08:00
target_link_libraries(${CMAKE_PROJECT_NAME} libhpr.so)