Skip to content

Commit

Permalink
Merge pull request #232 from flaviojs/rustify-lxt970a
Browse files Browse the repository at this point in the history
Rustify lxt970a
  • Loading branch information
grossmj authored Apr 11, 2024
2 parents c636ef1 + 94386cb commit 0d034d1
Show file tree
Hide file tree
Showing 16 changed files with 790 additions and 385 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ FetchContent_MakeAvailable ( Corrosion )
corrosion_import_crate ( MANIFEST_PATH "${CMAKE_SOURCE_DIR}/rust/dynamips/Cargo.toml" PROFILE release-with-debug )
corrosion_experimental_cbindgen( MANIFEST_PATH "${CMAKE_SOURCE_DIR}/rust/dynamips/Cargo.toml" TARGET rust-dynamips HEADER_NAME "rust-dynamips.h" )
list ( APPEND DYNAMIPS_LIBRARIES rust-dynamips )
add_custom_target ( cargo_fmt COMMAND cargo fmt -v WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/rust" USES_TERMINAL )
add_custom_target ( cargo_clippy COMMAND cargo clippy -v WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/rust" USES_TERMINAL )
add_custom_target ( cargo_doc COMMAND cargo doc -v WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/rust" USES_TERMINAL )
add_custom_target ( cargo_test COMMAND cargo test -v WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/rust" USES_TERMINAL )

add_subdirectory ( man )
add_subdirectory ( common )
Expand Down
14 changes: 0 additions & 14 deletions common/dev_lxt970a.c

This file was deleted.

219 changes: 0 additions & 219 deletions common/dev_lxt970a.h

This file was deleted.

Loading

0 comments on commit 0d034d1

Please sign in to comment.