News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 28 May 2011 build (7173) is out.

Started by killerbot, May 28, 2011, 08:59:04 AM

Previous topic - Next topic

MortenMacFly

Quote from: ironhead on May 31, 2011, 01:18:06 PM
In the meantime, if you could have the 'Indentation size (in spaces):' be available irregardless of coding style it would be greatly appreciated.  ;)
Are you sure that this would work? According to the astyle documentation the general named rules are not meant to be customised, meaning it is not defined how an additional option is handled...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ironhead

Quote from: MortenMacFly on May 31, 2011, 01:50:14 PM
Quote from: ironhead on May 31, 2011, 01:18:06 PM
In the meantime, if you could have the 'Indentation size (in spaces):' be available irregardless of coding style it would be greatly appreciated.  ;)
Are you sure that this would work? According to the astyle documentation the general named rules are not meant to be customised, meaning it is not defined how an additional option is handled...

It works when I use astyle from command line.

FWIW, I also created an item in astyle's bug tracker: http://sourceforge.net/tracker/?func=detail&aid=3309674&group_id=2319&atid=102319

Suryavarman

Now there are this option  :
Import library filename : $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)
Definition file filename : $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)


I edit properties for ALL my dynamic library projects :

Output filename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll
Import library filename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll.a
Definition filefilename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll.def


I save the projects and close Codeblocks.

I reload my workspace with Codeblocks... my changes are erase.
Output filename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll
Import library filename : $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)
Definition file filename : $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)


I want generate libraries with prefix : .dll.a and .dll.def

Regards

Gandi.




MortenMacFly

Quote from: Gandi on May 31, 2011, 05:11:21 PM
Output filename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll
Import library filename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll.a
Definition filefilename : ..\..\..\..\Bin\Mingw\Catopsys_CB.dll.def

This is a mi-use of the option. The latter two options cannot contain a path, but a filename only. The path is compiled by the output file name. If you search the forums you'll find another post with exactly the same question and a more detailed explanation. Usually you should do this (searching) in the first place.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

ironhead

Quote from: ironhead on May 31, 2011, 02:27:52 PM
Quote from: MortenMacFly on May 31, 2011, 01:50:14 PM
Quote from: ironhead on May 31, 2011, 01:18:06 PM
In the meantime, if you could have the 'Indentation size (in spaces):' be available irregardless of coding style it would be greatly appreciated.  ;)
Are you sure that this would work? According to the astyle documentation the general named rules are not meant to be customised, meaning it is not defined how an additional option is handled...

It works when I use astyle from command line.

FWIW, I also created an item in astyle's bug tracker: http://sourceforge.net/tracker/?func=detail&aid=3309674&group_id=2319&atid=102319

The astyle team responded:

QuoteThis is a design change with 2.02. All styles now default to 4. The
"styles" are now bracket styles instead of coding styles.

So as of astyle 2.02, the 'Indentation size' needs to be available for all options it seems.

Suryavarman

I find this topic.
http://forums.next.codeblocks.org/index.php/topic,14700.0.html

But i not understand.

I can't find the solution for my problem.

I will change the library path for all codeblocks projects, it's more easier.

Thanks.

ahui886