Skip to content

Commit

Permalink
Script to run DMI and EVC in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarBLG committed Oct 16, 2024
1 parent c5a5302 commit 15dc30c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ add_subdirectory(EVC)
add_subdirectory(DMI)
if (NOT ANDROID)
install(DIRECTORY config/ DESTINATION ${ETCS_CONFIG_DIR})
if (NOT WIN32)
if (WIN32)
install(PROGRAMS utils/ETCS.bat DESTINATION ${CMAKE_INSTALL_BINDIR} )
else()
install(PROGRAMS utils/etcs DESTINATION ${CMAKE_INSTALL_BINDIR} )
endif()
endif()
3 changes: 3 additions & 0 deletions utils/ETCS.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off
start evc.exe
start dmi.exe

0 comments on commit 15dc30c

Please sign in to comment.