Created
July 15, 2015 18:46
-
-
Save PeterMitrano/d666b9d855689e14ecf6 to your computer and use it in GitHub Desktop.
build.gradle with gazebo libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plugins = ['clock', 'dc_motor', 'encoder', 'gyro', 'limit_switch', 'pneumatic_piston', 'potentiometer', 'rangefinder', 'servo'] | |
//iterate over each plugin | |
model { | |
components { | |
plugins.each { | |
"gz_$it"(NativeLibrarySpec){ | |
sources { | |
cpp { | |
source { | |
srcDirs '../gz_msgs/build/generated' | |
include 'msgs.h' | |
} | |
exportedHeaders { | |
srcDirs '/usr/include/gazebo-5.1', '/usr/include/sdformat-2.3' | |
include '**/*.h' | |
} | |
lib project: ':simulation:gz_msgs', library: 'gz_msgs' | |
lib library: 'gazebo_transport' | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment