-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
29 changed files
with
652 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
project(MSLogonACL LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
MSLogonACL.cpp | ||
vncExportACL.cpp | ||
vncImportACL.cpp | ||
) | ||
add_executable(${PROJECT_NAME}) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/MSLogonACL/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/MSLogonACL/MSLogonACL.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/MSLogonACL/MSLogonACL.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE UNICODE=1 _UNICODE=1) | ||
if (MINGW) | ||
target_link_options(${PROJECT_NAME} PRIVATE "-municode") | ||
endif() | ||
target_link_libraries(${PROJECT_NAME} | ||
netapi32 | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
project(SecureVNCPlugin LANGUAGES CXX RC) | ||
|
||
find_package(OpenSSL REQUIRED) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
Base64.cpp | ||
CryptUtils.cpp | ||
Dialogs.cpp | ||
dllmain.cpp | ||
IntegratedSecureVNCPluginObject.cpp | ||
MultithreadedPlugin.cpp | ||
SecureVNCPlugin.cpp | ||
SecureVNCPluginObject.cpp | ||
stdafx.cpp | ||
Utils.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../DSMPlugin/SecureVNC/SecureVNCPlugin/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../DSMPlugin/SecureVNC/SecureVNCPlugin/SecureVNCPlugin.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../DSMPlugin/SecureVNC/SecureVNCPlugin/SecureVNCPlugin.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE WIN32 NDEBUG _WINDOWS _USRDLL SECUREVNCPLUGIN_EXPORTS) | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::SSL) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::Crypto) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
project(authSSP LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
authSSP.cpp | ||
EventLogging.cpp | ||
GenClientServerContext.cpp | ||
vncAccessControl.cpp | ||
vncSecurityEditor.cpp | ||
vncSSP.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/authSSP/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/authSSP/authSSP.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/authSSP/authSSP.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG WIN32 _WINDOWS AUTHSSP_EXPORTS UNICODE=1 _UNICODE=1) | ||
if (MINGW) | ||
target_link_options(${PROJECT_NAME} PRIVATE "-municode") | ||
endif() | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} | ||
aclui | ||
comctl32 | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
project(authadmin LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
authadmin.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/authadm/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/authadm/authadmin.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/authadm/authadmin.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE WIN32 NDEBUG _WINDOWS AUTHADMIN_EXPORTS) | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} | ||
netapi32 | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
project(createpassword LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
createpassword.cpp | ||
../../setpasswd/setpasswd/inifile.cpp | ||
) | ||
add_executable(${PROJECT_NAME}) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../winvnc/createpassword/${file}") | ||
endforeach(file) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
project(ldapauth LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
ldapAuth.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth/ldapAuth.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth/ldapAuth.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG WIN32 _WINDOWS LDAPAUTH_EXPORTS UNICODE=1 _UNICODE=1) | ||
if (MINGW) | ||
target_link_options(${PROJECT_NAME} PRIVATE "-municode") | ||
endif() | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} | ||
activeds | ||
adsiid | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
project(ldapauth9x LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
ldapAuth9x.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth9x/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth9x/ldapAuth9x.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauth9x/ldapAuth9x.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG WIN32 _WINDOWS LDAPAUTH9X_EXPORTS UNICODE=1 _UNICODE=1) | ||
if (MINGW) | ||
target_link_options(${PROJECT_NAME} PRIVATE "-municode") | ||
endif() | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} | ||
activeds | ||
adsiid | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
project(ldapauthnt4 LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
ldapAuthnt4.cpp | ||
) | ||
add_library(${PROJECT_NAME} SHARED) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauthNT4/${file}") | ||
endforeach(file) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauthNT4/ldapAuthnt4.rc") | ||
set_source_files_properties(${CMAKE_SOURCE_DIR}/../addon/ms-logon/ldapauthNT4/ldapAuthnt4.rc LANGUAGE RC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG WIN32 _WINDOWS LDAPAUTHNT4_EXPORTS UNICODE=1 _UNICODE=1) | ||
if (MINGW) | ||
target_link_options(${PROJECT_NAME} PRIVATE "-municode") | ||
endif() | ||
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") | ||
target_link_libraries(${PROJECT_NAME} | ||
activeds | ||
adsiid | ||
netapi32 | ||
) | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
|
||
set(LIBOMNITHREAD_SOURCES | ||
project(libomnithread LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
nt.cpp | ||
) | ||
add_library(libomnithread STATIC) | ||
foreach(file ${LIBOMNITHREAD_SOURCES}) | ||
target_sources(libomnithread PRIVATE "${CMAKE_SOURCE_DIR}/../omnithread/${file}") | ||
add_library(${PROJECT_NAME} STATIC) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../omnithread/${file}") | ||
endforeach(file) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE NDEBUG WIN32 _WINDOWS __NT__ _WINSTATIC __WIN32__ _WIN32_WINNT=0x400) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,29 @@ | ||
|
||
project(librdr LANGUAGES CXX RC) | ||
|
||
find_package(ZLIB REQUIRED) | ||
find_package(zstd CONFIG REQUIRED) | ||
find_package(LibLZMA REQUIRED) | ||
|
||
set(LIBRDR_SOURCES | ||
set(${PROJECT_NAME}_SOURCES | ||
FdInStream.cxx | ||
FdOutStream.cxx | ||
InStream.cxx | ||
NullOutStream.cxx | ||
ZlibInStream.cxx | ||
ZlibOutStream.cxx | ||
ZstdInStream.cxx | ||
ZstdOutStream.cxx | ||
xzInStream.cxx | ||
xzOutStream.cxx | ||
) | ||
add_library(librdr STATIC) | ||
target_compile_definitions(librdr PRIVATE _VCPKG) | ||
foreach(file ${LIBRDR_SOURCES}) | ||
target_sources(librdr PRIVATE "${CMAKE_SOURCE_DIR}/../rdr/${file}") | ||
add_library(${PROJECT_NAME} STATIC) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE _XZ _VCPKG) | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../rdr/${file}") | ||
endforeach(file) | ||
target_link_libraries(librdr | ||
target_link_libraries(${PROJECT_NAME} | ||
PRIVATE ZLIB::ZLIB | ||
PRIVATE zstd::libzstd | ||
PRIVATE LibLZMA::LibLZMA | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
|
||
set(LIBUDTCLOUD_SOURCES | ||
project(libudtcloud LANGUAGES CXX RC) | ||
|
||
set(${PROJECT_NAME}_SOURCES | ||
proxy/Cloudthread.cpp | ||
proxy/proxy.cpp | ||
proxy/ringbuffer.cpp | ||
) | ||
add_library(libudtcloud STATIC) | ||
target_include_directories(libudtcloud PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib") | ||
target_include_directories(libudtcloud PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib/proxy") | ||
foreach(file ${LIBUDTCLOUD_SOURCES}) | ||
target_sources(libudtcloud PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib/${file}") | ||
add_library(${PROJECT_NAME} STATIC) | ||
target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib") | ||
target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib/proxy") | ||
foreach(file ${${PROJECT_NAME}_SOURCES}) | ||
target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_SOURCE_DIR}/../UdtCloudlib/${file}") | ||
endforeach(file) | ||
target_link_libraries(libudtcloud | ||
target_link_libraries(${PROJECT_NAME} | ||
libudt4 | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.