Merge pull request #2 from microROS/feature/WindowsFix

Feature/windows fix
This commit is contained in:
Borja Outerelo
2018-11-15 14:39:06 +01:00
committed by GitHub
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ normalize_path(_DEFAULT_FASTRTPS_PROFILES_PATH "${_DEFAULT_FASTRTPS_PROFILES_PAT
# Get colcon call dir # Get colcon call dir
get_filename_component(_COLCON_CALL_DIR "${CMAKE_INSTALL_PREFIX}" DIRECTORY) get_filename_component(_COLCON_CALL_DIR "${PROJECT_BINARY_DIR}" DIRECTORY)
get_filename_component(_COLCON_CALL_DIR "${_COLCON_CALL_DIR}" DIRECTORY) get_filename_component(_COLCON_CALL_DIR "${_COLCON_CALL_DIR}" DIRECTORY)
+3 -3
View File
@@ -43,7 +43,7 @@ def GetPackage(Dir):
break break
return found_package_path return found_package_path.replace("\\", "/")
def GetPackageList(Dir): def GetPackageList(Dir):
@@ -88,7 +88,7 @@ def GetInterfacePackageMsgs(package_path):
for file in files: for file in files:
if file.endswith(".msg"): if file.endswith(".msg"):
full_path = os.path.join(root, file) full_path = os.path.join(root, file)
msg_list.append(full_path) msg_list.append(full_path.replace("\\", "/"))
return msg_list return msg_list
@@ -99,7 +99,7 @@ def GetInterfacePackageSrvs(package_path):
for file in files: for file in files:
if file.endswith(".srv"): if file.endswith(".srv"):
full_path = os.path.join(root, file) full_path = os.path.join(root, file)
msg_list.append(full_path) msg_list.append(full_path.replace("\\", "/"))
return msg_list return msg_list