Skip to content

Make IDA an optional dependency#27

Merged
copybara-service[bot] merged 1 commit into
google:mainfrom
pratikpc:disable-ida
Jan 19, 2024
Merged

Make IDA an optional dependency#27
copybara-service[bot] merged 1 commit into
google:mainfrom
pratikpc:disable-ida

Conversation

@pratikpc
Copy link
Copy Markdown
Contributor

This fix works by making find_package(IdaSdk) into an optional dependency.

For every CMake find_package call, CMake creates a PackageName_FOUND variable.

The same variable can be checked when the add_subdirectory command is being called.

TODO: Documenting in the README could use some work

Closes #26

Note

Need some help with testing the codebase as I don't have access to IDA myself.
But theoretically, the code here should work.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Oct 22, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This fix works by making find_package(IdaSdk) into an optional dependency.

For every CMake [find_package](https://cmake.org/cmake/help/v3.28/command/find_package.html) call, CMake creates a PackageName_FOUND variable.

The same variable can be checked when the add_subdirectory command is being called.

TODO: Documenting in the README could use some work

Closes #26
@cblichmann
Copy link
Copy Markdown
Member

Sent for internal review, thanks!

@copybara-service copybara-service Bot merged commit 1ca7aec into google:main Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable building without the IDA SDK

2 participants