|
|
@@ -69,3 +69,24 @@ if("${output_index}" EQUAL "-1")
|
|
|
else()
|
|
|
message(FATAL_ERROR "License found in the project")
|
|
|
endif()
|
|
|
+
|
|
|
+file(STRINGS "${project_file}" line REGEX [[\\_CON\\]])
|
|
|
+string(FIND "${line}" [[\_CON\]] output_index)
|
|
|
+message(STATUS "Found CON component reserved directory name as _CON")
|
|
|
+if("${output_index}" EQUAL "-1")
|
|
|
+ message(FATAL_ERROR "CON component reserved directory name not found as _CON in the project")
|
|
|
+endif()
|
|
|
+
|
|
|
+file(STRINGS "${project_file}" line REGEX [[\\Console\\]])
|
|
|
+string(FIND "${line}" [[\Console\]] output_index)
|
|
|
+message(STATUS "Found Console component directory name as Console")
|
|
|
+if("${output_index}" EQUAL "-1")
|
|
|
+ message(FATAL_ERROR "Console component directory name not found as Console in the project")
|
|
|
+endif()
|
|
|
+
|
|
|
+file(STRINGS "${project_file}" line REGEX [[\\EndsWithDot._\\]])
|
|
|
+string(FIND "${line}" [[\EndsWithDot._\]] output_index)
|
|
|
+message(STATUS "Found EndsWithDot. component directory name as EndsWithDot._")
|
|
|
+if("${output_index}" EQUAL "-1")
|
|
|
+ message(FATAL_ERROR "EndsWithDot. component directory name not found as EndsWithDot._ in the project")
|
|
|
+endif()
|