Skip to content

Create a CMake macro to handle project specific options #1282

@white238

Description

@white238

cmake_dependent_option just doesn't work like I always think it should so we should create our own called serac_project_specific_option that encapsulates the behavior we want.

For example:

  • ENABLE_BENCHMARKS is a global BLT created option, it is used for multiple projects. Allow a user to turn that on and honor it
  • Unless the project specific one is set SERAC_ENABLE_BENCHMARKS then honor that one.
  • Always create a SERAC_ENABLE_BENCHMARKS because the rest of our build system is guarded on that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions