mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-30 13:30:28 -05:00
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
18 lines
563 B
CMake
18 lines
563 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
project(advanced-scene-switcher-now-playing)
|
|
|
|
if(NOT WIN32)
|
|
message(WARNING "Now playing condition is only supported on Windows.")
|
|
return()
|
|
endif()
|
|
|
|
add_library(${PROJECT_NAME} MODULE)
|
|
target_sources(${PROJECT_NAME} PRIVATE macro-condition-now-playing.cpp
|
|
macro-condition-now-playing.hpp)
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE windowsapp)
|
|
|
|
setup_advss_plugin(${PROJECT_NAME})
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
|
install_advss_plugin(${PROJECT_NAME})
|