Snippets Collections
# Makefile

SRC := $(wildcard *.cpp) $(wildcard *.cc) $(wildcard *.c)
OBJ := $(SRC:.cpp=.o) $(SRC:.cc=.o) $(SRC:.c=.o)
TARGET := my_program

CXX := /opt/homebrew/opt/ccache/libexec/g++
CXXFLAGS := -fdiagnostics-color=always -g -Wall -std=c++20

$(TARGET): $(OBJ)
    $(CXX) $(CXXFLAGS) -o $@ $^

clean:
    rm -f $(OBJ) $(TARGET)
std::vector<float> distortion_vec = calib_handler_.getCameraDistortion(calib_handler_.getStereoLeftCameraId());

Eigen::Map<Eigen::VectorXf, Eigen::Unaligned> distortion(distortion_vec.data(), distortion_vec.size() - 2);
xargs rm < install_manifest.txt
star

Wed Feb 21 2024 16:09:03 GMT+0000 (Coordinated Universal Time)

#c++ #makefile #make
star

Fri Apr 21 2023 22:14:12 GMT+0000 (Coordinated Universal Time)

#c++ #make #cmake
star

Wed Jan 25 2023 18:03:36 GMT+0000 (Coordinated Universal Time) https://datatofish.com/executable-pyinstaller/

#make
star

Wed Jan 25 2023 18:02:33 GMT+0000 (Coordinated Universal Time) https://datatofish.com/executable-pyinstaller/

#python #make
star

Wed Nov 02 2022 09:12:02 GMT+0000 (Coordinated Universal Time)

#c++ #make #cmake

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension