Skip to content

Commit

Permalink
Create pacmod3_common as a static library (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
icolwell-as authored Jun 26, 2023
1 parent b677818 commit bcb71a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ project(pacmod3)

add_definitions(-std=c++14)

# For static library
add_compile_options(-fPIC)

set(catkin_deps
nodelet
roscpp
Expand Down Expand Up @@ -31,7 +34,7 @@ include_directories(

# Common Library
add_compile_definitions(ROS_VERSION=$ENV{ROS_VERSION})
add_library(pacmod3_common
add_library(pacmod3_common STATIC
pacmod3_common/src/pacmod3_dbc_ros_api.cpp
pacmod3_common/src/pacmod3_dbc3_ros_api.cpp
pacmod3_common/src/pacmod3_dbc4_ros_api.cpp
Expand Down

0 comments on commit bcb71a1

Please sign in to comment.