hkstreamer/CMakeLists.txt

36 lines
748 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
)
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
HkStreamer.cpp
main.cpp
)
add_executable(${CMAKE_PROJECT_NAME} ${SRCS})
2023-03-30 23:26:52 +08:00
target_link_libraries(${CMAKE_PROJECT_NAME} libhcnetsdk.so)
target_link_libraries(${CMAKE_PROJECT_NAME} libhpr.so)