Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge feature into main branch #1261

Merged
merged 15 commits into from
Jan 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add class Cmake.
  • Loading branch information
michael-rapp committed Jan 19, 2025
commit 76330590bf89c9c838f5df858ae244c777591103
20 changes: 20 additions & 0 deletions build_system/targets/dependencies/macos/cmake.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""
Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes that allow to run the external program "cmake".
"""
from util.run import Program


class Cmake(Program):
"""
Allows to run the external program "cmake".
"""

def __init__(self, *arguments: str):
"""
:param arguments: Optional arguments to be passed to the program "cmake"
"""
super().__init__('cmake', *arguments)
self.install_program(False)
self.print_arguments(True)