Skip to content

Commit

Permalink
Update cmake some more. (ultravnc#208)
Browse files Browse the repository at this point in the history
* cmake: Update librdr.

* cmake: Update libomnithread.

* cmake: Update libudt4.

* cmake: Update libudtcloud.

* cmake: Update libzip32.

* cmake: Update libzipunzip.

* cmake: Update repeater.

* cmake: Update vncviewer.

* cmake: Update winvnc.

* cmake: Update uvnc_settings.

* cmake: Update main CMakeLists.txt.

* cmake: Remove unneeded libuvncsettings.

* cmake: Add createpassword.

* cmake: Add testauth.

* cmake: Add uvnckeyboardhelper.

* cmake: Add MSLogonACL.

* cmake: Add vnchooks.

* cmake: Add logging.

* cmake: Add logmessages.

* cmake: Add authadmin.

* cmake: Add authSSP.

* cmake: Add ldapauth.

* cmake: Add ldapauth9x.

* cmake: Add ldapauthnt4.

* cmake: Add workgrpdomnt4.

* cmake: Add setcad.

* cmake: Add setpasswd.

* cmake: Add SecureVNCPlugin (disabled).

* cmake: Add option to compile with Address Santitizer.

* cmake: Copy mingw runtime dlls to the install directory.

* cmake: Update readme.txt.
  • Loading branch information
bernhardu authored and jose94752 committed Oct 15, 2024
1 parent 7b14a05 commit 0e72bd7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 0 additions & 18 deletions cmake/libuvncsettings/CMakeLists.txt

This file was deleted.

18 changes: 18 additions & 0 deletions cmake/vnchooks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

project(vnchooks LANGUAGES CXX RC)

set(${PROJECT_NAME}_SOURCES
VNCHooks.cpp
)
add_library(${PROJECT_NAME} SHARED)
foreach(file ${${PROJECT_NAME}_SOURCES})
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../winvnc/vnchooks/${file}")
endforeach(file)
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../winvnc/vnchooks/vnchooks.rc")
set_source_files_properties(${CMAKE_SOURCE_DIR}/../winvnc/vnchooks/vnchooks.rc LANGUAGE RC)
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG __WIN32__ WIN32 _WINDOWS _USRDLL VNCHOOKS_EXPORTS _WIN32_WINNT=0x400)
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_BINARY_DIR}/ultravnc)
if (MSVC)
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION ${CMAKE_BINARY_DIR}/ultravnc OPTIONAL)
endif()

0 comments on commit 0e72bd7

Please sign in to comment.