Re: Compiling instruction

Posted by Rallaz on
URL: https://forum.librecad.org/Compiling-instruction-tp4569484p4581778.html

2011/7/13 davinder [via LibreCAD]
<[hidden email]>:
> According to me the compiling instruction is here for librecad
> http://librecad.org/cms/home/from-source/linux.html
> But can anybody tell me, if i want to enable some extra features which are
> disabled from default but included in software, then what should be the
> command or instruction for that?
> Thanks in advance.
>

If you want to activate the code between the tags
#ifdef RS_OPT_PYTHON
#endif

add in librecad.pro:
DEFINES += RS_OPT_PYTHON=1
INCLUDEPATH += pathToPithon/include

Rallaz