Skip to content

Commit

Permalink
Merge pull request #661 from jcarpent/topic/ide
Browse files Browse the repository at this point in the history
Fix parsing of file paths
  • Loading branch information
jcarpent authored Feb 10, 2024
2 parents 0fa7e43 + aa6f919 commit dd1d28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ide.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ function(ADD_GROUP GROUP_NAME FILENAMES)
foreach(filename ${${FILENAMES}})
get_filename_component(filenamePath ${filename} PATH)
get_filename_component(filenameName ${filename} NAME)
string(REGEX REPLACE "${PROJECT_BINARY_DIR}" "" filenamePath
string(REGEX REPLACE "${PROJECT_BINARY_DIR}/" "" filenamePath
"${filenamePath}/")
string(REGEX REPLACE "${PROJECT_SOURCE_DIR}" "" filenamePath
string(REGEX REPLACE "${PROJECT_SOURCE_DIR}/" "" filenamePath
"${filenamePath}/")
string(REGEX REPLACE "//" "/" filenamePath ${filenamePath})
list(APPEND REDUCED_FILENAMES ${filenamePath})
Expand Down

0 comments on commit dd1d28f

Please sign in to comment.