Project

General

Profile

Revision 82590ec3

ID82590ec30fafc4bc335ba9bb4ecad4a64e394e86
Parent 4778412a
Child 4f83d2b4

Added by Priya over 3 years ago

Changed this so that it runs the generate script automatically.

View differences:

scout/libscout/CMakeLists.txt
29 29
#rosbuild_add_executable(example examples/example.cpp)
30 30
#target_link_libraries(example ${PROJECT_NAME})
31 31

  
32
# Generate BehaviorList files and scoutsim files.
33
add_custom_command(OUTPUT src/BehaviorList.cpp COMMAND ./generate_behavior_lists.py)
34
                  
32 35
set(MAIN_FILES src/Sensors.cpp src/Behavior.cpp src/BehaviorList.cpp src/BehaviorProcess.cpp)
33 36
FILE(GLOB BEHAVIOR_FILES "${PROJECT_SOURCE_DIR}/src/behaviors/*.cpp")
34 37
FILE(GLOB TEST_BEHAVIOR_FILES "${PROJECT_SOURCE_DIR}/src/test_behaviors/*.cpp")

Also available in: Unified diff