Skip to content

Commit

Permalink
pass proper output path for version header generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 14, 2024
1 parent 49cfe81 commit 838b0e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tbd/tbd_version/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(VERSION_SRC "${CMAKE_BINARY_DIR}/gen_src/version.cpp")

add_custom_command(
OUTPUT "${VERSION_SRC}"
COMMAND ${TBD_TOOL} -p "${TBD_PLATFORM}" project create-build-info
COMMAND ${TBD_TOOL} -p "${TBD_PLATFORM}" project create-build-info -o "${VERSION_SRC}"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
)

Expand Down
2 changes: 1 addition & 1 deletion tools/tbdtools/cli/project_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def build_info_cmd(_ctx: typer.Context):
@project_group.command('create-build-info')
def crate_build_info_cmd(
_ctx: typer.Context,
out_path: Optional[Path] = typer.Option(None, '-o' '--out-file')
out_path: Optional[Path] = typer.Option(None, '-o', '--out-file')
):
""" write build information header """

Expand Down

0 comments on commit 838b0e1

Please sign in to comment.