kaitz / paq8pxd

GNU General Public License v2.0
68 stars 7 forks source link

Added CMakeLists.txt to build with CMake / Make #12

Closed moisespr123 closed 3 years ago

moisespr123 commented 3 years ago

Added a CMakeLists.txt file similar to the one used in paq8px to build using CMake and Make. Also updates Readme to include building instructions using CMake.

On paq8pxd.cpp, I commented the #define MT since regardless if it was defined or not in gcc / cmake, it would be enabled. Now, it will be passed correctly by GCC and CMake and enable it appropriately because of the already-included #ifdef MT in the source code.