diff --git a/makefile b/makefile index 6d8cca42..f5007a18 100644 --- a/makefile +++ b/makefile @@ -3,6 +3,9 @@ # all: run +brew: + mkdir -p ws/build && (cd ws/build ; cmake .. ; make) + .PHONY: docker docker: docker build -t broadcast_server:latest . diff --git a/ws/CMakeLists.txt b/ws/CMakeLists.txt index e8138e1f..8c2f9737 100644 --- a/ws/CMakeLists.txt +++ b/ws/CMakeLists.txt @@ -34,3 +34,4 @@ if (APPLE AND USE_TLS) endif() target_link_libraries(ws ixwebsocket) +install(TARGETS ws RUNTIME DESTINATION bin)