Skip to content

Building the code #1

@bharat76

Description

@bharat76

Hey @chriskohlhoff it is amazing talk indeed.
I find useful if you can update the Makefile. -fcoroutines is needed atleast on Ubuntu 20.04 using gcc.

CXXFLAGS=-std=c++20 -pthread -Wall -Wextra -fcoroutines -fno-inline -I$(ASIO_ROOT)/include -g -DASIO_ENABLE_HANDLER_TRACKING
SOURCE=$(wildcard *.cpp)
PROGRAMS=$(SOURCE:.cpp=)
DSYM=$(SOURCE:.cpp=.dSYM)

all: $(PROGRAMS)

clean:
	rm -rf $(PROGRAMS) $(DSYM)

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