Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Typescript code generation #361

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions seerep_com/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endforeach()
add_custom_target(fbpyschemas)
add_custom_command(
TARGET fbpyschemas
COMMAND flatc -p -T --grpc "*.fbs" DEPENDS fbpyschemas
COMMAND flatc -p --grpc "*.fbs" DEPENDS fbpyschemas
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/fbs/"
)

Expand Down Expand Up @@ -154,21 +154,6 @@ install(
PATTERN "*.py"
)

# install the generated typescript sources
install(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
FILES_MATCHING
PATTERN "*.ts"
)
# install the generated javascript sources
install(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
FILES_MATCHING
PATTERN "*.js"
)

# install the configuration file
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SeerepComConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/SeerepComConfigVersion.cmake
Expand Down
8 changes: 0 additions & 8 deletions seerep_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,6 @@ install(
PATTERN "*.py"
)

# install the generated typescript sources
install(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
FILES_MATCHING
PATTERN "*.ts"
)

set(SEEREP_COM_DIR_FB ${CMAKE_CURRENT_BINARY_DIR}/../seerep_com/fbs)

install(
Expand Down
2 changes: 1 addition & 1 deletion seerep_msgs/cmake/BuildFlatBuffers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function(
add_custom_command(
OUTPUT ${generated_include}
COMMAND ${FLATC} ${FLATC_SCHEMA_ARGS} -o ${generated_includes_dir}
${include_params} -c -p -T ${schema}
${include_params} -c -p ${schema}
# --filename-suffix ".fb"
DEPENDS ${FLATC_TARGET} ${schema} ${additional_dependencies}
WORKING_DIRECTORY "${working_dir}"
Expand Down