diff options
Diffstat (limited to 'CAN-binder/low-can-demo')
-rw-r--r-- | CAN-binder/low-can-demo/CMakeLists.txt | 7 | ||||
-rw-r--r-- | CAN-binder/low-can-demo/binding/CMakeLists.txt | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/CAN-binder/low-can-demo/CMakeLists.txt b/CAN-binder/low-can-demo/CMakeLists.txt index a554598c..6de2a25b 100644 --- a/CAN-binder/low-can-demo/CMakeLists.txt +++ b/CAN-binder/low-can-demo/CMakeLists.txt @@ -17,9 +17,6 @@ # limitations under the License. ########################################################################### -# Add subdir targets -search_targets() - # Add target to project dependency list PROJECT_TARGET_ADD(low-can-demo) @@ -35,11 +32,11 @@ PROJECT_TARGET_ADD(low-can-demo) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES - PREFIX "" LABELS "HTDOCS" OUTPUT_NAME dist.prod) # installation directory INSTALL(DIRECTORY dist.prod/ DESTINATION ${BINDINGS_INSTALL_DIR}) - populate_widget()
\ No newline at end of file +# Add subdir targets +project_subdirs_add() diff --git a/CAN-binder/low-can-demo/binding/CMakeLists.txt b/CAN-binder/low-can-demo/binding/CMakeLists.txt index 4078e2b1..945d2d8a 100644 --- a/CAN-binder/low-can-demo/binding/CMakeLists.txt +++ b/CAN-binder/low-can-demo/binding/CMakeLists.txt @@ -25,7 +25,7 @@ PROJECT_TARGET_ADD(stat-binding) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES - PREFIX "" + PREFIX "afb-" LABELS "BINDING" LINK_FLAGS ${BINDINGS_LINK_FLAG} OUTPUT_NAME ${TARGET_NAME} @@ -38,5 +38,3 @@ PROJECT_TARGET_ADD(stat-binding) # installation directory INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) - - populate_widget() |