mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
build: windows: add pywinmake and simplify winmake script
Building libjami should now be doable using: - init : git submodule update --init - install: pip install extras/scripts/pywinmake - contrib: python extras/scripts/winmake.py - libjami: python extras/scripts/winmake.py --base-dir compat/msvc NOTE: breaks libjami output location TODO: fix plugin build Change-Id: Ic6b25d00103f0ea68d8ab7954f8345f1648e0381
This commit is contained in:
@ -304,7 +304,7 @@ if(MSVC)
|
||||
################################################################################
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
TARGET_NAME_RELEASELIB_WIN32 "jami"
|
||||
TARGET_NAME_RELEASE "jami"
|
||||
)
|
||||
endif()
|
||||
################################################################################
|
||||
@ -312,12 +312,12 @@ if(MSVC)
|
||||
################################################################################
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
OUTPUT_DIRECTORY_RELEASELIB_WIN32 "${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_VS_PLATFORM_NAME}/$<CONFIG>/bin/"
|
||||
OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/build/lib"
|
||||
)
|
||||
endif()
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
INTERPROCEDURAL_OPTIMIZATION_RELEASELIB_WIN32 "FALSE"
|
||||
INTERPROCEDURAL_OPTIMIZATION_RELEASE "FALSE"
|
||||
)
|
||||
endif()
|
||||
################################################################################
|
||||
|
Reference in New Issue
Block a user