/custom-msg-cpp

Custom Msg User Cpp for Test Compiler G++, Make, Cmake, Clang and others.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

custom-msg-cpp

Custom Msg User Cpp for Test Compiler G++, Make, Cmake, Clang and others.

Basic compile

g++, gcc site. Run:

g++ main.cpp hello-world.cpp -o msg.o

Alternative compile

clang , need clang installed. Run:

clang++ main.cpp hello-world.cpp -o msg.o

Pratice compile

make, using clang.

make all clean

Advanced compile

CMake , install cmake Run:

mkdir build && cd build
cmake ..
make

Using

alias msg="$PWD/msg"
msg
#Hello, World!
msg Olá Mundo
#Olá, Mundo!
msg Hello Marcos
#Hello, Marcos!