mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by cmake-format
This commit is contained in:
parent
e4b285c169
commit
8c424ca09b
@ -355,22 +355,16 @@ endforeach()
|
|||||||
# Generate Python code in a target that is part of ALL_BUILD and depends on
|
# Generate Python code in a target that is part of ALL_BUILD and depends on
|
||||||
# ResInsight
|
# ResInsight
|
||||||
if(RESINSIGHT_ENABLE_GRPC)
|
if(RESINSIGHT_ENABLE_GRPC)
|
||||||
set(GENERATED_CLASSES_FILE ${CMAKE_SOURCE_DIR}/GrpcInterface/Python/rips/generated/generated_classes.py)
|
set(GENERATED_CLASSES_FILE
|
||||||
|
${CMAKE_SOURCE_DIR}/GrpcInterface/Python/rips/generated/generated_classes.py
|
||||||
|
)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT
|
OUTPUT ${GENERATED_CLASSES_FILE}
|
||||||
${GENERATED_CLASSES_FILE}
|
COMMAND ResInsight ARGS --console --generate ${GENERATED_CLASSES_FILE}
|
||||||
COMMAND
|
|
||||||
ResInsight ARGS --console --generate
|
|
||||||
${GENERATED_CLASSES_FILE}
|
|
||||||
DEPENDS ResInsight
|
DEPENDS ResInsight
|
||||||
COMMENT
|
COMMENT "Generating ${GENERATED_CLASSES_FILE}")
|
||||||
"Generating ${GENERATED_CLASSES_FILE}"
|
add_custom_target(RipsGeneratedPythonClasses ALL
|
||||||
)
|
SOURCES ${GENERATED_CLASSES_FILE})
|
||||||
add_custom_target(
|
|
||||||
RipsGeneratedPythonClasses ALL
|
|
||||||
SOURCES
|
|
||||||
${GENERATED_CLASSES_FILE}
|
|
||||||
)
|
|
||||||
source_group("Source Files" ${GENERATED_CLASSES_FILE})
|
source_group("Source Files" ${GENERATED_CLASSES_FILE})
|
||||||
add_dependencies(RipsGeneratedPythonClasses ResInsight)
|
add_dependencies(RipsGeneratedPythonClasses ResInsight)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user