Skip to content

CMake skip building examples/tests/running tests and installing files? (As submodule) #147

@MrSapps

Description

@MrSapps

When using this repo as a submodule I'd like to just build the static lib/dll/so. Is there a way to disable:

-Building example binaries
-Adding/running test (the example binaries)
-Installing files

I noticed there seems to be a skip var for each install section?

if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL )
install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION "${INSTALL_INC_DIR}")
endif()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions