Skip to content

Commit

Permalink
Place Alfalfa C# in model between OSVersion and Measure
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Nov 6, 2024
1 parent db608bf commit bbc0a94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ProjectMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ macro(MAKE_SWIG_TARGET NAME SIMPLENAME KEY_I_FILE I_FILES PARENT_TARGET PARENT_S

set( model_names
OpenStudioMeasure
OpenStudioAlfalfa
OpenStudioModel
OpenStudioModelAirflow
OpenStudioModelAvailabilityManager
Expand Down
1 change: 1 addition & 0 deletions csharp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ set(translator_wrappers

set(model_wrappers
csharp_OpenStudioMeasure_wrap.cxx
csharp_OpenStudioAlfalfa_wrap.cxx
csharp_OpenStudioModel_wrap.cxx
csharp_OpenStudioModelAirflow_wrap.cxx
csharp_OpenStudioModelAvailabilityManager_wrap.cxx
Expand Down
2 changes: 1 addition & 1 deletion src/alfalfa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ if(BUILD_TESTING)
endif()


MAKE_SWIG_TARGET(OpenStudioAlfalfa alfalfa "${CMAKE_CURRENT_SOURCE_DIR}/Alfalfa.i" "${${target_name}_swig_src}" ${target_name} OpenStudioModel)
MAKE_SWIG_TARGET(OpenStudioAlfalfa alfalfa "${CMAKE_CURRENT_SOURCE_DIR}/Alfalfa.i" "${${target_name}_swig_src}" ${target_name} OpenStudioOSVersion)
2 changes: 1 addition & 1 deletion src/measure/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ endif()

CREATE_TEST_TARGETS(${target_name} "${${target_name}_test_src}" "${${target_name}_test_depends}")

MAKE_SWIG_TARGET(OpenStudioMeasure measure "${CMAKE_CURRENT_SOURCE_DIR}/Measure.i" "${${target_name}_swig_src}" ${target_name} "OpenStudioOSVersion;OpenStudioAlfalfa")
MAKE_SWIG_TARGET(OpenStudioMeasure measure "${CMAKE_CURRENT_SOURCE_DIR}/Measure.i" "${${target_name}_swig_src}" ${target_name} OpenStudioAlfalfa)

0 comments on commit bbc0a94

Please sign in to comment.