Re: [Lazarus] Question {%MainUnit} IDE directive
On Wed, 31 Dec 2014 17:50:40 +0200 Juha Manninen wrote: >[...] > > I looked here: http://wiki.freepascal.org/IDE_directives, this directive is > > not mentioned there. > > Right, the page should be updated. The directive is valid only in .inc > files which must be mentioned. Done. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Question {%MainUnit} IDE directive
On Wed, Dec 31, 2014 at 4:59 PM, Vojtěch Čihák wrote: > I have a small question about this directive. > > If I use: {%MainUnit ../umain.pas} > > is it problem when someone will open this project under Windows? > I mean slash / backslash. The IDE supports slash also on Windows. No problem. > I looked here: http://wiki.freepascal.org/IDE_directives, this directive is > not mentioned there. Right, the page should be updated. The directive is valid only in .inc files which must be mentioned. > BTW, Happy new year ! Yes, Happy new Year 2015 for everybody. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Question {%MainUnit} IDE directive
On 12/31/2014 03:59 PM, Vojtěch Čihák wrote: Hello, I have a small question about this directive. If I use: {%MainUnit ../umain.pas} is it problem when someone will open this project under Windows? I mean slash / backslash. No, LCL sources uses %MainUnit and I've never spotted such problem. eg. look into lcl/include/dbmemo.inc. (or any other include file in lcl/include and it's same - use slash. zeljko I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there. Thanks. BTW, Happy new year ! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Question {%MainUnit} IDE directive
Hello, I have a small question about this directive. If I use: {%MainUnit ../umain.pas} is it problem when someone will open this project under Windows? I mean slash / backslash. I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not mentioned there. Thanks. BTW, Happy new year ! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus