diff --git a/ProjectMacros.cmake b/ProjectMacros.cmake index cf944fa06a2..3ca827748ed 100644 --- a/ProjectMacros.cmake +++ b/ProjectMacros.cmake @@ -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 diff --git a/csharp/CMakeLists.txt b/csharp/CMakeLists.txt index 995b65987ff..4bffd5e51ac 100644 --- a/csharp/CMakeLists.txt +++ b/csharp/CMakeLists.txt @@ -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 diff --git a/src/alfalfa/CMakeLists.txt b/src/alfalfa/CMakeLists.txt index bb335fbefb1..9fe7e350d15 100644 --- a/src/alfalfa/CMakeLists.txt +++ b/src/alfalfa/CMakeLists.txt @@ -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) diff --git a/src/measure/CMakeLists.txt b/src/measure/CMakeLists.txt index 36b249dd111..03c3c771d8e 100644 --- a/src/measure/CMakeLists.txt +++ b/src/measure/CMakeLists.txt @@ -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)