moved dvm to submodule
This commit is contained in:
@@ -11,15 +11,16 @@ message("processing ${project}")
|
||||
|
||||
# Read pathes to external sapfor directories
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../paths.txt")
|
||||
message("Found paths.txt, using custom paths.")
|
||||
# message("Found paths.txt, using custom paths.")
|
||||
FILE(STRINGS ../paths.txt SAPFOR_PATHS)
|
||||
else ()
|
||||
message("Not found paths.txt, using default paths.")
|
||||
# message("Not found paths.txt, using default paths.")
|
||||
FILE(STRINGS ../paths.default.txt SAPFOR_PATHS)
|
||||
endif ()
|
||||
|
||||
foreach (NameAndValue ${SAPFOR_PATHS})
|
||||
# Strip leading spaces
|
||||
string(REGEX REPLACE "^[ ]+" "" NameAndValue ${NameAndValue})
|
||||
string(REGEX REPLACE "^[ ]+" "" NameAndValue ${NameAndValue})
|
||||
# Find variable name
|
||||
string(REGEX MATCH "^[^=]+" Name ${NameAndValue})
|
||||
# Find the value
|
||||
|
||||
Reference in New Issue
Block a user