Skip to content
Snippets Groups Projects
Commit baf6032e authored by Orestis Afedulidis's avatar Orestis Afedulidis
Browse files

buildallCmake -> buildCmakeGCC, now cmake will use gcc/g++ from your environment

parent 4b81e65c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [ ! -d build ]
then
mkdir build
fi
if [ ! -d bin ]
then
mkdir bin
fi
if [ ! -d lib ]
then
mkdir lib
fi
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DBUILD_SHARED_LIBS=ON -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++
make
make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment