当前位置: 首页 > 工具软件 > LibVNCServer > 使用案例 >

windows下使用cmake编译libvncserver

金健
2023-12-01
cmake -G"Visual Studio 12 2013" .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DSDL2_INCLUDE_DIR=..\deps\SDL2-2.0.8\include -DSDL2MAIN_LIBRARY=..\deps\SDL2-2.0.8\lib\x86\SDL2main.lib -DSDL2_LIBRARY_TEMP=..\deps\SDL2-2.0.8\lib\x86\SDL2.lib -DGNUTLS_INCLUDE_DIR=D:\code\deps\gnutls_win32-build\lib -DGNUTLS_LIBRARY=..\deps\gnutls_win32-build\lib\libgnutls.lib -DJPEG_INCLUDE_DIR=C:\libjpeg-turbo\include -DJPEG_LIBRARY=D:\code\deps\libjpeg-turbo\build\Debug\jpeg-static.lib -DPKG_CONFIG_EXECUTABLE=D:\software\pkgconfig_026-1\bin\pkg-config.exe  -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib -DWITH_SYSTEMD=  -D SASL2_INCLUDE_DIR=c:\cmu\include -D LIBSASL2_LIBRARIES=c:\cmu\lib\libsasl.lib ..
 类似资料: