diff --git a/rclcpp/CMakeLists.txt b/rclcpp/CMakeLists.txt index e767aba..11207cb 100644 --- a/rclcpp/CMakeLists.txt +++ b/rclcpp/CMakeLists.txt @@ -117,8 +117,3 @@ install( DIRECTORY include/ DESTINATION include ) - -install( - DIRECTORY src/ - DESTINATION src/rclcpp -) diff --git a/rclcpp/src/node_main.cpp b/rclcpp/src/node_main.cpp deleted file mode 100644 index 5d4554f..0000000 --- a/rclcpp/src/node_main.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2014 Open Source Robotics Foundation, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include - -// This forward declaration is implemented by the RCLCPP_REGISTER_NODE macro -RMW_IMPORT rclcpp::Node::SharedPtr create_node(); - -int main(int argc, char ** argv) -{ - rclcpp::init(argc, argv); - rclcpp::executors::SingleThreadedExecutor executor; - rclcpp::Node::SharedPtr node = create_node(); - executor.add_node(node); - executor.spin(); - return 0; -}