summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/config.xml (renamed from package/root/config.xml)0
-rw-r--r--src/gear_shift_para.json (renamed from package/root/gear_shift_para.json)0
-rw-r--r--src/steering_wheel.json (renamed from package/root/steering_wheel.json)0
-rw-r--r--src/steering_wheel_map.json (renamed from package/root/steering_wheel_map.json)0
5 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 71168a3..73377ca 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -79,9 +79,9 @@ set_target_properties(af-steering-wheel-binding PROPERTIES
LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map"
)
-#add_custom_command(TARGET af-steering-wheel-binding POST_BUILD
-# COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/config.xml ${CMAKE_CURRENT_SOURCE_DIR}/steering_wheel.json ${CMAKE_CURRENT_SOURCE_DIR}/icon.png ${PROJECT_BINARY_DIR}/package/root
-# COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/steering_wheel_map.json ${CMAKE_CURRENT_SOURCE_DIR}/gear_shift_para.json ${PROJECT_BINARY_DIR}/package/root)
+add_custom_command(TARGET af-steering-wheel-binding POST_BUILD
+ COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/config.xml ${CMAKE_CURRENT_SOURCE_DIR}/steering_wheel.json ${CMAKE_CURRENT_SOURCE_DIR}/icon.png ${PROJECT_BINARY_DIR}/package/root
+ COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/steering_wheel_map.json ${CMAKE_CURRENT_SOURCE_DIR}/gear_shift_para.json ${PROJECT_BINARY_DIR}/package/root)
add_custom_target(package DEPENDS ${PROJECT_BINARY_DIR}/package/root
COMMAND wgtpkg-pack -f -o ${PROJECT_BINARY_DIR}/package/${PROJECT_NAME}.wgt ${PROJECT_BINARY_DIR}/package/root)
diff --git a/package/root/config.xml b/src/config.xml
index 9f3370a..9f3370a 100644
--- a/package/root/config.xml
+++ b/src/config.xml
diff --git a/package/root/gear_shift_para.json b/src/gear_shift_para.json
index 3b58da7..3b58da7 100644
--- a/package/root/gear_shift_para.json
+++ b/src/gear_shift_para.json
diff --git a/package/root/steering_wheel.json b/src/steering_wheel.json
index 1a5e889..1a5e889 100644
--- a/package/root/steering_wheel.json
+++ b/src/steering_wheel.json
diff --git a/package/root/steering_wheel_map.json b/src/steering_wheel_map.json
index 9e580d9..9e580d9 100644
--- a/package/root/steering_wheel_map.json
+++ b/src/steering_wheel_map.json