Skip to content

Commit a289cb9

Browse files
committed
clean up CMakeLists; fix release archive
1 parent a362db4 commit a289cb9

File tree

2 files changed

+2
-35
lines changed

2 files changed

+2
-35
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ jobs:
4444
4545
- name: Create header archive
4646
run: |
47-
cd include
48-
zip -r ../slick_shm-${{ steps.get_version.outputs.VERSION }}-headers.zip slick/
49-
cd ..
47+
zip -r ./slick_queue-${{ steps.get_version.outputs.VERSION }}.zip include/
5048
5149
- name: Create Release
5250
uses: softprops/action-gh-release@v1
@@ -61,4 +59,4 @@ jobs:
6159
prerelease: false
6260
generate_release_notes: false
6361
files: |
64-
slick_shm-${{ steps.get_version.outputs.VERSION }}-headers.zip
62+
slick_queue-${{ steps.get_version.outputs.VERSION }}.zip

CMakeLists.txt

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -64,34 +64,3 @@ install(EXPORT slick_queueTargets
6464
)
6565

6666
message(STATUS "slick_queue: ${PROJECT_VERSION}")
67-
68-
# # Automatically run install after build in Release mode
69-
# if(CMAKE_BUILD_TYPE STREQUAL "Release")
70-
# add_custom_target(dist_slick_queue ALL
71-
# COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/dist/include
72-
# COMMENT "Copying slick_queue headers to dist/include"
73-
# VERBATIM
74-
# )
75-
76-
# if (MSVC)
77-
# set_target_properties(dist_slick_queue PROPERTIES
78-
# VS_GLOBAL_IntDir "$(Platform)\\$(Configuration)\\dist_slick_queue\\"
79-
# )
80-
# endif()
81-
82-
# if (PROJECT_IS_TOP_LEVEL)
83-
# add_custom_target(package_slick_queue ALL
84-
# COMMAND ${CMAKE_COMMAND} -E tar "cfv" "${CMAKE_BINARY_DIR}/dist/slick_queue_${PROJECT_VERSION}.zip" --format=zip "${CMAKE_CURRENT_SOURCE_DIR}/include"
85-
# WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
86-
# COMMENT "Creating zip archive"
87-
# )
88-
# add_dependencies(package_slick_queue dist_slick_queue)
89-
90-
# if (MSVC)
91-
# set_target_properties(package_slick_queue PROPERTIES
92-
# VS_GLOBAL_IntDir "$(Platform)\\$(Configuration)\\package_slick_queue\\"
93-
# )
94-
# endif()
95-
# endif()
96-
# endif()
97-

0 commit comments

Comments
 (0)