Skip to content

[Suggestion] nob_cc_lib #252

Description

@XenoMustache

Compiler agnostic abstraction to append a library search path to nob_cc compile commands. Could look something like this:

#ifndef nob_cc_lib
#  if defined(_MSC_VER)
#    define nob_cc_lib(cmd, library_path) nob_cmd_append(cmd, nob_temp_sprintf("/LIBPATH:\"%s\"", (library_path)))
#  else
#    define nob_cc_lib(cmd, library_path) nob_cmd_append(cmd, nob_temp_sprintf("-L%s", (library_path)))
#  endif
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions