Skip to content

Update build process #58

@malensek

Description

@malensek

While we added some of the necessary flags for protobufs in the lecture video, we also need to:

  • use protoc to generate code based on our proto file
  • have the output file (generated code) depend on the previous step to ensure it gets built first
  • have the server build depend on the generated code

So the end result is trying to build the server will trigger those earlier steps first so there are no compilation / link issues.

For now, until #56 is resolved, this could use an empty proto file.

While editing the build process, we should also have an option to build with the static analysis options we used in class:

-fanalyzer
-fsanitize=address
-fsanitize=leak
-fsanitize=undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions