Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion sdf/1.10/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_10 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.11/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_11 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.12/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_12 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_5 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.6/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_6 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.7/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_7 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.8/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_8 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
13 changes: 12 additions & 1 deletion sdf/1.9/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,22 @@ foreach(FIL ${sdfs})
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.xsd"
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
ARGS --sdf-dir ${CMAKE_CURRENT_SOURCE_DIR} --input-file ${ABS_FIL} --output-dir ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${ABS_FIL}
DEPENDS ${ABS_FIL} ${CMAKE_SOURCE_DIR}/tools/xmlschema.py
COMMENT "Running xml schema compiler on ${FIL}"
VERBATIM)
endforeach()

add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
"${CMAKE_CURRENT_BINARY_DIR}/types.xsd"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/schema/types.xsd"
COMMENT "Copying types.xsd to binary dir"
VERBATIM)

list(APPEND SDF_SCHEMA "${CMAKE_CURRENT_BINARY_DIR}/types.xsd")

add_custom_target(schema1_9 ALL DEPENDS ${SDF_SCHEMA})

set_source_files_properties(${SDF_SCHEMA} PROPERTIES GENERATED TRUE)
Expand Down
Loading