Skip to content

Add CMakeJob - #653

Open
SimBe195 wants to merge 1 commit into
mainfrom
cmake_compile_job
Open

Add CMakeJob#653
SimBe195 wants to merge 1 commit into
mainfrom
cmake_compile_job

Conversation

@SimBe195

Copy link
Copy Markdown
Contributor

This PR adds a compilation job for projects with a cmake build system. It runs a configure -> build -> install sequence and marks the install directory as its output. I tested it with RASR compilation which works well.

Comment thread tools/compile.py
def __init__(
self,
source_folder: tk.Path,
cmake_opts: Optional[List[str]] = None,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. I would specify in the variabel name that those go to the 'configure' call.
  2. do we also need custom options for the 'compile' and 'install' calls?

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.

2 participants