Author Topic: The 28 May 2011 build (7173) is out.  (Read 35629 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 28 May 2011 build (7173) is out.
« Reply #15 on: May 31, 2011, 01:50:14 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: The 28 May 2011 build (7173) is out.
« Reply #16 on: May 31, 2011, 02:27:52 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

Offline Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Suryavarman
Re: The 28 May 2011 build (7173) is out.
« Reply #17 on: May 31, 2011, 05:11:21 pm »
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.




Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 28 May 2011 build (7173) is out.
« Reply #18 on: May 31, 2011, 05:27:42 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: The 28 May 2011 build (7173) is out.
« Reply #19 on: May 31, 2011, 05:42:20 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:

Quote
This 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.

Offline Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Suryavarman
Re: The 28 May 2011 build (7173) is out.
« Reply #20 on: May 31, 2011, 05:50:55 pm »
I find this topic.
http://forums.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.

Offline ahui886

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: The 28 May 2011 build (7173) is out.
« Reply #21 on: June 01, 2011, 10:44:56 am »
thanks,good job