Commit 1bf666ed authored by Daniel Wortmann's avatar Daniel Wortmann

inputSchema.h is no longer in git. Instead it is generated on the fly from...

inputSchema.h is no longer in git. Instead it is generated on the fly from cmake out of FleurInputSchema.xsd.
parent b6689356
init/compileinfo.h
io/xml/inputSchema.h
*~
\#*
build
......
......@@ -22,7 +22,7 @@ endif()
include("cmake/CompilerConfig.txt")
include("cmake/ReportConfig.txt")
include("cmake/Generate_Schema.cmake")
include("cmake/Files_and_Targets.txt")
include("cmake/filespecific.cmake")
......
find_program(XXD_PROG xxd)
if (XXD_PROG)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/io/xml/inputSchema.h
COMMAND ${XXD_PROG} -i FleurInputSchema.xsd inputSchema.h
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/io/xml/
COMMENT "Putting current Schema into inputSchema.h")
else()
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/io/xml/inputSchema.h
COMMAND mv ${CMAKE_SOURCE_DIR}/io/xml/inputSchema.h.backup ${CMAKE_SOURCE_DIR}/io/xml/inputSchema.h
COMMENT "No xxd found using backup")
message("No xxd command found! Using backup of inputSchema.h")
endif()
\ No newline at end of file
This diff is collapsed.
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