summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-07-28 22:21:17 +0000
committerDavid Robillard <d@drobilla.net>2008-07-28 22:21:17 +0000
commit1b6bdab7661cdb9a66535ce03e98cc427f276538 (patch)
tree0290ef26b5d3099882711d789116d7f8ec170385 /src/progs
parent2fd41e8d03877f454bff4943901d5c1638aac9bb (diff)
downloadingen-1b6bdab7661cdb9a66535ce03e98cc427f276538.tar.gz
ingen-1b6bdab7661cdb9a66535ce03e98cc427f276538.tar.bz2
ingen-1b6bdab7661cdb9a66535ce03e98cc427f276538.zip
Remove annoying set_dev_environment.sh script in favour of progs/ingen/ingen.dev wrapper script.
git-svn-id: http://svn.drobilla.net/lad/ingen@1295 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rwxr-xr-xsrc/progs/ingen/ingen.dev5
-rw-r--r--src/progs/ingen/main.cpp6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/progs/ingen/ingen.dev b/src/progs/ingen/ingen.dev
new file mode 100755
index 00000000..023eba7e
--- /dev/null
+++ b/src/progs/ingen/ingen.dev
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+
+export INGEN_MODULE_PATH="`pwd`/../../libs/engine/.libs:`pwd`/../../libs/serialisation/.libs:`pwd`/../../libs/gui/.libs:`pwd`/../../libs/client/.libs:`pwd`/../../bindings/.libs"
+export INGEN_GLADE_PATH="`pwd`/../../libs/gui/ingen_gui.glade"
+./ingen $@
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp
index 64cfd36b..5be5a8d3 100644
--- a/src/progs/ingen/main.cpp
+++ b/src/progs/ingen/main.cpp
@@ -109,8 +109,7 @@ main(int argc, char** argv)
engine_module.reset();
}
} else {
- cerr << "Unable to load engine module, engine not loaded." << endl;
- cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl;
+ cerr << "Unable to load engine module." << endl;
}
}
@@ -132,7 +131,6 @@ main(int argc, char** argv)
use_osc = true;
} else {
cerr << "Unable to load ingen_client module, aborting." << endl;
- cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl;
return -1;
}
}
@@ -186,7 +184,6 @@ main(int argc, char** argv)
} else {
cerr << "Unable to load serialisation module, aborting." << endl;
- cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl;
return -1;
}
}
@@ -204,7 +201,6 @@ main(int argc, char** argv)
run(argc, argv, world);
} else {
cerr << "Unable to find GUI module, GUI not loaded." << endl;
- cerr << "Try using src/set_dev_environment.sh, or setting INGEN_MODULE_PATH." << endl;
}
}