mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 01:29:18 +00:00
c993b6059a
Also updates main CMakeLists.txt and CMakeLists.txt for unit tests, also adds additional build directories to .gitignore file
19 lines
426 B
CMake
19 lines
426 B
CMake
project(osx-text)
|
|
|
|
find_library(COCOA Cocoa)
|
|
mark_as_advanced(COCOA)
|
|
|
|
add_executable(macOS_test)
|
|
|
|
target_sources(macOS_test PRIVATE test.mm)
|
|
|
|
target_link_libraries(macOS_test PRIVATE OBS::libobs ${COCOA})
|
|
|
|
target_compile_options(macOS_test PRIVATE -fobjc-arc)
|
|
|
|
target_compile_features(macOS_test PRIVATE cxx_std_11)
|
|
|
|
set_target_properties(macOS_test PROPERTIES FOLDER "tests and examples")
|
|
|
|
define_graphic_modules(macOS_test)
|