Skip to content

Commit

Permalink
Clean up html producer make file
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitry-ishenko committed Sep 13, 2024
1 parent c390f68 commit d941344
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions src/modules/html/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
cmake_minimum_required (VERSION 3.16)
project (html)
cmake_minimum_required(VERSION 3.16)
project(html)

set(SOURCES
producer/html_cg_proxy.cpp
producer/html_producer.cpp
producer/html_cg_proxy.cpp
producer/html_cg_proxy.h

html.cpp
)
set(HEADERS
producer/html_cg_proxy.h
producer/html_producer.h
producer/html_producer.cpp
producer/html_producer.h

html.h
html.cpp
html.h
)

casparcg_add_module_project(html
SOURCES ${SOURCES} ${HEADERS}
INIT_FUNCTION "html::init"
UNINIT_FUNCTION "html::uninit"
CLI_INTERCEPTOR "html::intercept_command_line"
casparcg_add_module_project(html SOURCES ${SOURCES}
INIT_FUNCTION "html::init"
UNINIT_FUNCTION "html::uninit"
CLI_INTERCEPTOR "html::intercept_command_line"
)
target_link_libraries(html CEF::CEF)

# TODO: remove when appropriate
target_include_directories(html PRIVATE
..
../..
)

target_link_libraries(html CEF::CEF)

set_target_properties(html PROPERTIES FOLDER modules)
source_group(sources\\producer producer/*)
source_group(sources ./*)

0 comments on commit d941344

Please sign in to comment.