Skip to content

Commit

Permalink
☀️ add make target : package
Browse files Browse the repository at this point in the history
  • Loading branch information
coleflowers committed Sep 4, 2020
1 parent a38a08f commit 7db189f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,12 @@ install(PROGRAMS
build/proto2json
DESTINATION bin)

add_custom_target(package
COMMAND sh ../bin/package.sh
COMMENT "Now Generating tar.gz file..."
)
if (APPLE)
add_custom_target(package
COMMAND sh ../bin/package.sh
COMMENT "Now Generating tar.gz file..."
)
endif()

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
add_custom_command(TARGET proto2json POST_BUILD
Expand Down

0 comments on commit 7db189f

Please sign in to comment.