diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index f0b9eea6f..10a747d1e 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -7,7 +7,6 @@ add_subdirectory(glad) set(BUILD_DOCS FALSE CACHE INTERNAL "" FORCE) set(STATIC_CRT TRUE CACHE INTERNAL "" FORCE) -set(BUILD_SHARED_LIBS FALSE CACHE INTERNAL "" FORCE) +set(BUILD_SHARED_LIBS TRUE CACHE INTERNAL "" FORCE) set(WITHOUT_TESTS TRUE CACHE INTERNAL "" FORCE) add_subdirectory(jansson) - diff --git a/deps/jansson/CMakeLists.txt b/deps/jansson/CMakeLists.txt index 33745018d..748478088 100644 --- a/deps/jansson/CMakeLists.txt +++ b/deps/jansson/CMakeLists.txt @@ -479,3 +479,7 @@ if (NOT WITHOUT_TESTS) DEPENDS json_process ${api_tests}) endif () +target_include_directories(jansson + PUBLIC src) + +install_obs_core(jansson) diff --git a/deps/w32-pthreads/CMakeLists.txt b/deps/w32-pthreads/CMakeLists.txt index fe93a45b2..e132e7ace 100644 --- a/deps/w32-pthreads/CMakeLists.txt +++ b/deps/w32-pthreads/CMakeLists.txt @@ -2,7 +2,6 @@ project(w32-pthreads) add_definitions(-D__CLEANUP_C) add_definitions(-DPTW32_BUILD) -add_definitions(-DPTW32_STATIC_LIB) set(w32-pthreads_SOURCES pthread.c) @@ -13,7 +12,9 @@ set(w32-pthreads_HEADERS sched.h semaphore.h) -add_library(w32-pthreads STATIC +add_library(w32-pthreads ${w32-pthreads_SOURCES} ${w32-pthreads_HEADERS}) target_link_libraries(w32-pthreads) + +install_obs_core(w32-pthreads) diff --git a/vs/2013/jansson/jansson.vcxproj b/vs/2013/jansson/jansson.vcxproj new file mode 100644 index 000000000..91f9deeab --- /dev/null +++ b/vs/2013/jansson/jansson.vcxproj @@ -0,0 +1,187 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {C7549517-7FAB-46A5-BB21-228984573265} + Win32Proj + jansson + + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;JANSSON_EXPORTS;%(PreprocessorDefinitions) + ../../../deps/jansson/win32/ + 4996 + + + Windows + true + ../../../deps/jansson/src/jansson.def + + + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)" + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;JANSSON_EXPORTS;%(PreprocessorDefinitions) + ../../../deps/jansson/win32/ + 4996 + + + Windows + true + ../../../deps/jansson/src/jansson.def + + + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;JANSSON_EXPORTS;%(PreprocessorDefinitions) + ../../../deps/jansson/win32/ + 4996 + + + Windows + true + true + true + ../../../deps/jansson/src/jansson.def + + + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)" + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;JANSSON_EXPORTS;%(PreprocessorDefinitions) + ../../../deps/jansson/win32/ + 4996 + + + Windows + true + true + true + ../../../deps/jansson/src/jansson.def + + + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vs/2013/jansson/jansson.vcxproj.filters b/vs/2013/jansson/jansson.vcxproj.filters new file mode 100644 index 000000000..55304a595 --- /dev/null +++ b/vs/2013/jansson/jansson.vcxproj.filters @@ -0,0 +1,66 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file