File: CMakeLists.txt

package info (click to toggle)
obs-advanced-scene-switcher 1.32.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 43,492 kB
  • sloc: xml: 297,593; cpp: 147,875; python: 387; sh: 280; ansic: 170; makefile: 33
file content (40 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
cmake_minimum_required(VERSION 3.14)
project(advanced-scene-switcher-scripting)

# --- End of section ---

add_library(${PROJECT_NAME} MODULE)

target_sources(
  ${PROJECT_NAME}
  PRIVATE macro-action-script.cpp
          macro-action-script.hpp
          macro-action-script-inline.cpp
          macro-action-script-inline.hpp
          macro-condition-script.cpp
          macro-condition-script.hpp
          macro-condition-script-inline.cpp
          macro-condition-script-inline.hpp
          macro-script-handler.cpp
          macro-script-handler.hpp
          macro-segment-script.cpp
          macro-segment-script.hpp
          macro-segment-script-inline.cpp
          macro-segment-script-inline.hpp)

target_sources(
  ${PROJECT_NAME}
  PRIVATE utils/inline-script.cpp
          utils/inline-script.hpp
          utils/obs-script-helpers.cpp
          utils/obs-script-helpers.hpp
          utils/properties-view.cpp
          utils/properties-view.hpp
          utils/properties-view.moc.hpp)

target_include_directories(${PROJECT_NAME}
                           PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/utils")

setup_advss_plugin(${PROJECT_NAME})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
install_advss_plugin(${PROJECT_NAME})