Skip to content

Commit

Permalink
cmake: publish 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamcake committed Dec 12, 2023
1 parent c92d850 commit e5a9b74
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.21) # Minimum CEF requirement, but building with the latest cmake is strongly recommended
project(Bolt VERSION 0.4 LANGUAGES C CXX)
project(Bolt VERSION 0.5 LANGUAGES C CXX)

# e.g. becomes "libbolt-overlay.so" on linux
set(BOLT_OVERLAY_NAME "bolt-overlay")
Expand Down Expand Up @@ -43,6 +43,7 @@ if(NOT WIN32)
" <screenshot type=\"default\">https://raw.githubusercontent.com/flathub/net.runelite.RuneLite/master/screenshot.png</screenshot>"
"</screenshots>"
"<releases>"
" <release version=\"0.5.0\" date=\"2023-12-11\"/>"
" <release version=\"0.4.0\" date=\"2023-11-03\"/>"
" <release version=\"0.3.0\" date=\"2023-11-02\"/>"
" <release version=\"0.2.0\" date=\"2023-09-16\"/>"
Expand Down Expand Up @@ -241,13 +242,13 @@ else()
endif()

# Build helper libraries
if(NOT BOLT_SKIP_LIBRARIES)
if(UNIX AND NOT APPLE)
add_library(${BOLT_OVERLAY_NAME} SHARED src/library/so/main.c src/library/gl.c)
install(TARGETS ${BOLT_OVERLAY_NAME} DESTINATION "${BOLT_LIBDIR}")
target_compile_definitions(bolt PUBLIC BOLT_LIB_NAME="${BOLT_OVERLAY_NAME}")
endif()
endif()
#if(NOT BOLT_SKIP_LIBRARIES)
# if(UNIX AND NOT APPLE)
# add_library(${BOLT_OVERLAY_NAME} SHARED src/library/so/main.c src/library/gl.c)
# install(TARGETS ${BOLT_OVERLAY_NAME} DESTINATION "${BOLT_LIBDIR}")
# target_compile_definitions(bolt PUBLIC BOLT_LIB_NAME="${BOLT_OVERLAY_NAME}")
# endif()
#endif()

# Finally, install shell script and metadata
if(NOT WIN32)
Expand Down

0 comments on commit e5a9b74

Please sign in to comment.