Skip to content

Commit

Permalink
[mr181] add linux project setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiestyle committed Jun 14, 2011
1 parent 2fc4dd6 commit 77a3d8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions project_setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
PREFIX=${PWD}/bin
CONF_OPTS="-DPCH=1 -DDEBUG=1"
FLAGS="-march=native -O2 -pipe -DNDEBUG"

rm -Rf build &&
mkdir build &&
cd build &&
cmake .. -DPREFIX="${PREFIX}" ${CONF_OPTS} -DCMAKE_C_FLAGS="${FLAGS}" -DCMAKE_CXX_FLAGS="${FLAGS}" -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++"
2 changes: 1 addition & 1 deletion src/shared/revision_R2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_R2_H__
#define __REVISION_R2_H__
#define REVISION_R2 "180"
#define REVISION_R2 "181"
#endif // __REVISION_R2_H__

0 comments on commit 77a3d8f

Please sign in to comment.