1# Executables 2add_executable(jbs jbs.c) 3target_link_libraries(jbs ejdb2_s) 4 5if(CMAKE_BUILD_TYPE STREQUAL "Release") 6 add_custom_command( 7 TARGET jbs 8 POST_BUILD 9 COMMAND strip -s $<TARGET_FILE:jbs>) 10endif() 11 12if(DO_INSTALL_CORE) 13 install(TARGETS jbs RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 14endif() 15