Skip to content

Commit

Permalink
Merge pull request #1078 from dcherniev/hotfix/Change_version_of_API
Browse files Browse the repository at this point in the history
Change version of API in MOBILE_API.xml
  • Loading branch information
jacobkeeler committed Dec 1, 2016
2 parents f3cb4a2 + e1c4aa7 commit e98cef9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5,028 deletions.
2 changes: 1 addition & 1 deletion src/components/interfaces/MOBILE_API.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" standalone="no"?>
<?xml-stylesheet type="text/xml" href="protocol2html.xsl"?>

<interface name="Ford Sync RAPI" version="4.1" date="2016-04-08">
<interface name="Ford Sync RAPI" version="4.2" date="2016-11-16">

<enum name="Result" internal_scope="base">
<element name="SUCCESS">
Expand Down
4 changes: 2 additions & 2 deletions src/components/utils/test/test_generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include_directories (
${COMPONENTS_DIR}/include/utils
)

set(full_xml_name "${CMAKE_CURRENT_SOURCE_DIR}/MOBILE_API.xml")
set(full_xml_name "${CMAKE_SOURCE_DIR}/src/components/interfaces/MOBILE_API.xml")

add_custom_target( generate_version
COMMAND ${INTEFRACE_GENERATOR_CMD} ${full_xml_name} "mobile_apis"
Expand All @@ -58,7 +58,7 @@ set(testSources
generated_msg_version_test.cc
)

file(COPY MOBILE_API.xml DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY ${full_xml_name} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
create_test("generator_test" "${testSources}" "${testLibraries}")
add_dependencies("generator_test" generate_version)

Expand Down
Loading

0 comments on commit e98cef9

Please sign in to comment.