Skip to content

Commit

Permalink
build: install executable
Browse files Browse the repository at this point in the history
  • Loading branch information
hexcafe committed Feb 23, 2024
1 parent c5ab25d commit ece0505
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ endif()

add_executable(yajava main.c yajava.c trace.c)

install(TARGETS yajava RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

if (${UNIT_TEST})
include(CTest)
add_executable(test_arg test/test_arg.c yajava.c trace.c)
Expand Down

0 comments on commit ece0505

Please sign in to comment.