Skip to content

Commit

Permalink
misc: rename jami -> jami-core
Browse files Browse the repository at this point in the history
This will allow us to use add_subdirectory in the client CMakeLists.txt.

Change-Id: Ibb0584f955c0047ac51c248342907d4e79f2b973
  • Loading branch information
atraczyk committed Nov 2, 2023
1 parent eab9863 commit f7baf66
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16)

project(jami
project(jami-core
VERSION 13.11.0
LANGUAGES C CXX)
set(PACKAGE_NAME "Jami Daemon")
Expand Down Expand Up @@ -230,12 +230,6 @@ endif()

add_library(${PROJECT_NAME} STATIC ${ALL_FILES})

# Add the lib prefix to the output name for MSVC.
if (MSVC)
set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
set(CMAKE_STATIC_LIBRARY_PREFIX "lib")
endif()

set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER "daemon")
target_compile_definitions(${PROJECT_NAME} PRIVATE
PACKAGE_NAME="${PACKAGE_NAME}"
Expand Down Expand Up @@ -299,14 +293,6 @@ if(MSVC)
set(CMAKE_SUPPRESS_REGENERATION true)
set(ROOT_NAMESPACE ringdaemon)

################################################################################
# Target name
################################################################################
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "x64")
set_target_properties(${PROJECT_NAME} PROPERTIES
TARGET_NAME_RELEASE "jami"
)
endif()
################################################################################
# Output directory
################################################################################
Expand Down

0 comments on commit f7baf66

Please sign in to comment.