I'm a bit confused by the RUNINPLACE option and was hoping for some
help.
When you run sudo make install in ubuntu. Heekscad installs the
executable in the following directory.
/usr/local/bin/HeeksCAD
/usr/local/share/heekscad/bitmaps
/usr/local/share/heekscad/icons.
The source has folders bitmaps, icons in the main directory.
http://code.google.com/p/heekscad/source/browse/#svn/trunk
(About line 2243)
http://code.google.com/p/heekscad/source/diff?spec=svn486&r=467&format=side&path=/trunk/src/HeeksCAD.cpp&old_path=/trunk/src/HeeksCAD.cpp&old=461
or if you prefer:
src/HeeksCAD.cpp|2246|#ifdef WIN32 || defined(RUNINPLACE)|
{
#ifdef WIN32 || defined(RUNINPLACE)
return GetExeFolder();
#else
return (GetExeFolder() + _T("/../share/heekscad"));
#endif
}
I would like to create a code::blocks project file debugging in linux
for uploading and perhaps, eventually and eventually link /src/
makefile directly(once I understand C::B better) to keep code
maintenance to a minimum.
It appears that work has been done to on RUNINPLACE in the makefile,
but I don't understand the direction where this is heading:
http://code.google.com/p/heekscad/source/diff?spec=svn469&r=469&format=side&path=/trunk/src/Makefile
I added RUNINPLACE to my compiler options string in code::blocks
`wx-config --cxxflags`
-Wall -g -I "./" -I "/usr/include/opencascade" $(WXCFLAGS) -DUNICODE -
D__WXGTK__ -DHEEKSCAD -DHAVE_LIMITS -DWXUSINGDLL -DHAVE_LIMITS -
DTIXML_USE_STL -DRUNINPLACE
I'm assuming the intent -DRUNINPLACE is to have this happen...
Right???
HeeksCAD
/bitmaps
/icons
I'm trying to figured out is I code something hosed up my code::blocks
configuration or if it's something with this line of code in linux/gnu
{
#ifdef WIN32 || defined(RUNINPLACE)
return GetExeFolder();
#else
return (GetExeFolder() + _T("/../share/heekscad"));
#endif
}
I'm pretty sure I have RUNINPLACE correctly defined in C::B but I seem
to be skipping past this in when I run in DEBUG.
Is anyone else havng this happen?