Skip to content

Commit

Permalink
Attempt at minimally invaisive ruby edits
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jan 26, 2021
1 parent dd666a0 commit 647ee5a
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 324 deletions.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ endif()

# Command line support.
add_subdirectory(cmd)
add_subdirectory(ign)
17 changes: 16 additions & 1 deletion src/cmd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
add_executable(
transport
transport_main.cc
ign.cc
)

target_link_libraries(transport
ignition-utils${IGN_UTILS_VER}::cli
${PROJECT_LIBRARY_TARGET_NAME}
)

install(TARGETS transport DESTINATION lib/ignition/${IGN_DESIGNATION}${PROJECT_VERSION_MAJOR}/)

#===============================================================================
# Generate the ruby script for internal testing.
# Note that the major version of the library is included in the name.
Expand Down Expand Up @@ -29,7 +42,9 @@ set(cmd_script_configured "${cmd_script_generated}.configured")

# Set the library_location variable to the relative path to the library file
# within the install directory structure.
set(library_location "../../../${CMAKE_INSTALL_LIBDIR}/$<TARGET_FILE_NAME:${PROJECT_LIBRARY_TARGET_NAME}>")
set(exe_location "../../../${CMAKE_INSTALL_LIBDIR}/ignition/${IGN_DESIGNATION}${PROJECT_VERSION_MAJOR}/$<TARGET_FILE_NAME:transport>")

message(STATUS ${exe_location})

configure_file(
"cmd${IGN_DESIGNATION}.rb.in"
Expand Down
Loading

0 comments on commit 647ee5a

Please sign in to comment.