Skip to content

Commit 7fdfbf1

Browse files
committed
Got rid of placeholder logic for example code file
1 parent ff0446a commit 7fdfbf1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,9 @@ foreach(target libwsv5_static libwsv5_shared)
7777
)
7878
endforeach()
7979

80-
# Optional: Build example/test program
81-
option(BUILD_EXAMPLES "Build example programs" OFF)
80+
# Optional: Build test program
8281
option(BUILD_TESTS "Build test programs" OFF)
8382

84-
if(BUILD_EXAMPLES)
85-
add_executable(obsws_example example.c)
86-
target_link_libraries(obsws_example libwsv5_static)
87-
endif()
88-
8983
# Build test suite if requested
9084
if(BUILD_TESTS)
9185
# Comprehensive test suite
@@ -123,7 +117,6 @@ if(DOXYGEN_FOUND)
123117
set(DOXYGEN_PROJECT_NAME "libwsv5")
124118
set(DOXYGEN_PROJECT_NUMBER "1.1.0") # Update this when bumping version
125119
set(DOXYGEN_PROJECT_BRIEF "OBS WebSocket v5 Protocol C Library")
126-
set(DOXYGEN_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/libwsv5.h ${CMAKE_CURRENT_SOURCE_DIR}/libwsv5.c")
127120
set(DOXYGEN_EXCLUDE_PATTERNS "*/test/*" "*/.git/*")
128121
set(DOXYGEN_GENERATE_HTML YES)
129122
set(DOXYGEN_GENERATE_LATEX YES)

0 commit comments

Comments
 (0)