How to build multi binaries through cmake.

Topic :

1. How to build multi binaries through cmake.
2. How to make multi binaries by preprocess.


Linux Line Feed? Carriage Return? Remove ^M

linux "^M" issue

If you look the shell script or code sent from Windows to the Linux server, you may find "^M" at the end of the line.

ex 1 )
echo test^M


ex 2)

#include <iostream>^M
#include <string>^M


Solve :

all remove ^M

 $ vi source.cpp
 
:1,$s/^M//g

^M : ctrl+N and ctrl+M


dpkg command (install / remove)

 dpkg

 - install .deb

    $ dpkg -i *.deb


 - check intalled .deb package

    $dpkg --get-selections | grep <pkgName>


 - remove .deb 
   * If it is installed through a deb file, it should be removed in order according to dependencies.

    $ dpkg -P <pkgName>-dev

    $ dpkg -P <pkgName>-dbg

    $ dpkg -P  <pkgName>



#dpkg #deb #install #remove #package #linux #embedded

Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore!

 🏙️ Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore! 🚨 Are you thinking about buying an apartment in 2025? 🏢  It’...