Merge pull request #1944 from WizardCM/windows-rc-definition
CMake: Build Windows modules with file descriptors
This commit is contained in:
@@ -39,6 +39,13 @@ set(decklink-ouput-ui_UI
|
||||
forms/output.ui
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
set(MODULE_DESCRIPTION "OBS DeckLink Output UI")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in decklink-ouput-ui.rc)
|
||||
list(APPEND decklink-ouput-ui_SOURCES
|
||||
decklink-ouput-ui.rc)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set(decklink-ouput-ui_PLATFORM_LIBS
|
||||
${COCOA})
|
||||
|
@@ -71,8 +71,11 @@ if(SCRIPTING_ENABLED)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(MODULE_DESCRIPTION "OBS Frontend Tools")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in frontend-tools.rc)
|
||||
set(frontend-tools_PLATFORM_SOURCES
|
||||
auto-scene-switcher-win.cpp)
|
||||
auto-scene-switcher-win.cpp
|
||||
frontend-tools.rc)
|
||||
|
||||
if(BUILD_CAPTIONS)
|
||||
set(frontend-tools_PLATFORM_SOURCES
|
||||
|
@@ -7,6 +7,12 @@ add_definitions(-DLIBOBS_EXPORTS)
|
||||
set(obs-frontend-api_SOURCES
|
||||
obs-frontend-api.cpp)
|
||||
|
||||
if(WIN32)
|
||||
set(MODULE_DESCRIPTION "OBS Frontend API")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/winrc/obs-module.rc.in ./obs-frontend-api.rc)
|
||||
list(APPEND obs-frontend-api_SOURCES
|
||||
obs-frontend-api.rc)
|
||||
endif()
|
||||
set(obs-frontend-api_HEADERS
|
||||
obs-frontend-internal.hpp
|
||||
obs-frontend-api.h)
|
||||
|
Reference in New Issue
Block a user