Skip to content

Commit

Permalink
Clifford Wolf:
Browse files Browse the repository at this point in the history
	Added release build settings



git-svn-id: http://svn.clifford.at/openscad/trunk@158 b57f626f-c46c-0410-a088-ec61d464b74c
  • Loading branch information
clifford committed Dec 11, 2009
1 parent 0c0d233 commit ed6094d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions openscad.cc
Expand Up @@ -56,7 +56,7 @@ void handle_dep(QString filename)

int main(int argc, char **argv)
{
int rc;
int rc = 0;

initialize_builtin_functions();
initialize_builtin_modules();
Expand Down Expand Up @@ -157,9 +157,9 @@ int main(int argc, char **argv)
} else {
QString text;
char buffer[513];
int rc;
while ((rc = fread(buffer, 1, 512, fp)) > 0) {
buffer[rc] = 0;
int ret;
while ((ret = fread(buffer, 1, 512, fp)) > 0) {
buffer[ret] = 0;
text += buffer;
}
fclose(fp);
Expand Down
7 changes: 6 additions & 1 deletion openscad.pro
Expand Up @@ -7,9 +7,14 @@ else {
TARGET = openscad
}

CONFIG += qt debug
CONFIG += qt
TEMPLATE = app

CONFIG += debug
# CONFIG += release
# QMAKE_CFLAGS_RELEASE += -O3
# QMAKE_CXXFLAGS_RELEASE += -O3

# MDI needs an OpenCSG library that is compiled with OpenCSG-Reset-Hack.patch applied
# DEFINES += ENABLE_MDI

Expand Down

0 comments on commit ed6094d

Please sign in to comment.