Browse Source

removed debug output from cmake

Former-commit-id: f443a42ba9
tempestpy_adaptions
sjunges 8 years ago
parent
commit
2a1c317363
  1. 2
      resources/cmake/macros/RegisterSourceGroup.cmake

2
resources/cmake/macros/RegisterSourceGroup.cmake

@ -1,13 +1,11 @@
macro(register_source_groups_from_filestructure list_of_files) macro(register_source_groups_from_filestructure list_of_files)
foreach(FILE ${list_of_files}) foreach(FILE ${list_of_files})
message(${FILE})
get_filename_component(PARENT_DIR "${FILE}" PATH) get_filename_component(PARENT_DIR "${FILE}" PATH)
# skip src or include and changes /'s to \\'s # skip src or include and changes /'s to \\'s
string(REPLACE ${PROJECT_SOURCE_DIR} "" PARENT_DIR "${PARENT_DIR}") string(REPLACE ${PROJECT_SOURCE_DIR} "" PARENT_DIR "${PARENT_DIR}")
string(REGEX REPLACE "(\\./)?(src|include)/?" "" GROUP "${PARENT_DIR}") string(REGEX REPLACE "(\\./)?(src|include)/?" "" GROUP "${PARENT_DIR}")
string(REPLACE "/" "\\" GROUP "${GROUP}") string(REPLACE "/" "\\" GROUP "${GROUP}")
message(${GROUP})
# group into "Source Files" and "Header Files" # group into "Source Files" and "Header Files"
# if ("${FILE}" MATCHES ".*\\.cpp") # if ("${FILE}" MATCHES ".*\\.cpp")

Loading…
Cancel
Save