Skip to content

openstudio_utilities_tests shouldn't need to depend on openstudiolib #5380

@jmarrec

Description

@jmarrec

Enhancement Request

I'm making a change to utilities/idd / idf right now. As you know, building the ALL target will be super lengthy because everything depends on it.

So I just want to build openstudio_utilities_tests to test my change, before I build the entire project.

Turns out that this needs openstudiolib, so basically I have to build almost everything and I'm wasting time.

This is basically deterring us from trying to make any changes to lower level openstudio stuff because it's impossible to have a quick iteration on it. Yet, this is for example the location where any performance savings would come from.

Detailed Description

if(BUILD_TESTING)
CREATE_TEST_TARGETS(${target_name} "${${target_name}_test_src}" openstudiolib openstudio_model_resources openstudio_energyplus_resources fmt::fmt)
endif()

Possible Implementation

Remove the openstudiolib dependency. Perhaps will need to break a few things into smaller components?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions