Commit c2c7996b authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED remove CMAKE newline warning

parent d8281a5e
......@@ -89,7 +89,7 @@ macro(camitk_register_subproject)
#
# 2. Create the XML fragment (including name and dependency list
#
set(SUBPROJECT_XML_FRAGMENT "\n <SubProject name=\"${SUB_PROJECT_NAME}\">")
set(SUBPROJECT_XML_FRAGMENT "<SubProject name=\"${SUB_PROJECT_NAME}\">")
if(SUB_PROJECT_NAME STREQUAL "action-application")
# Particular case of action-applications: only depends on CamiTK core library
set(SUBPROJECT_XML_FRAGMENT ${SUBPROJECT_XML_FRAGMENT} "<Dependency name=\"library-camitkcore\"/>")
......
......@@ -73,7 +73,7 @@ macro(camitk_init_manifest_data_reset_variables NAME)
set(CAMITK_APPLICATION_TARGETS "" CACHE STRING "List of application targets" FORCE)
# Subproject list (XML document)
set(CAMITK_SUBPROJECTS "<?xml version=\"1.0\"?>\n<Project name=\"${NAME}\">" CACHE INTERNAL "XML description of all subprojects")
set(CAMITK_SUBPROJECTS "<?xml version=\"1.0\"?><Project name=\"${NAME}\">" CACHE INTERNAL "XML description of all subprojects")
# Subprojects by category (XML fragment)
set(CAMITK_CORE_LIBRARY_SUBPROJECTS "" CACHE INTERNAL "XML description of core library subprojects")
......
......@@ -56,7 +56,7 @@ macro(camitk_write_manifest_data)
# endif()
# Write down the Project.xml file
set(CAMITK_SUBPROJECTS ${CAMITK_SUBPROJECTS} "\n</Project>")
set(CAMITK_SUBPROJECTS ${CAMITK_SUBPROJECTS} "</Project>")
set(CAMITK_SUBPROJECTS_FILENAME "${CMAKE_BINARY_DIR}/Project.xml")
file(WRITE ${CAMITK_SUBPROJECTS_FILENAME} ${CAMITK_SUBPROJECTS})
message(STATUS "Generated ${CAMITK_SUBPROJECTS_FILENAME} for project description")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment