Giter Club home page Giter Club logo

cbp2make's People

Contributors

mirai-computing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cbp2make's Issues

$(LIB) spacing

When generating the Makefile, the spacing on LinkerLibraries is incorrect for the line LIB_DEBUG, i.e.
image

When running make, output is missing a space between paths. Looks like this:
image

Proposed solution:
Add a space to the end of the last path in the loop in cbproject.cpp at line 834.

for (int i = 0; i < m_LinkerLibraries.GetCount(); i++)
   {
    CString lib_pathname = m_LinkerLibraries[i];
    CString lib_path, lib_name, lib_ext;
    SplitFilePathName(lib_pathname, lib_path, lib_name, lib_ext);
    //CString lib_name = m_LinkerLibraries[i];
    //CString lib_ext = ExtractFileExt(lib_name);
    //if (lib_ext.IsEmpty())
    if (lib_path.IsEmpty())
    {
     if (pl->IsLibraryExtension(lib_ext))
     {
      CString lib_base_name = pl->BaseLibraryName(lib_name,lib_ext);
      line = JoinStr(line,tc->LinkLibrarySwitch()+pl->ProtectPath(pl->Pd(lib_base_name),Config.QuotePathMode()),' ');
      //line.Append(" ");
     }
     else
     {
      line = JoinStr(line,tc->LinkLibrarySwitch()+pl->ProtectPath(pl->Pd(lib_name),Config.QuotePathMode()),' ');
      //line.Append(" ");
     }
    }
    else
    {
     line = JoinStr(line,pl->ProtectPath(pl->Pd(lib_pathname),Config.QuotePathMode()),' ');
     // line.Append(" ");
    }

Installation process unclear

It is specified how to use the tool, but regarding the installation there is nothing.
The most intuitive approach for me was to clone the repo and run the install script, but that's not working.
Not really surprising, since it tries to copy files from a not existing folder.

Maybe I am missing something obvious, but would be convenient to just address the installation in the README.

When include files ues environment constants slash escaping fails

I have such example of include dirs:

INC = -I$(WXWIN)\include -I$(PYTHONHOME)\include -I$(WXCURL)\include

where environmental constants are used.
As we see here, backslash is not escaped.
Must be:

INC = -I$(WXWIN)\\include -I$(PYTHONHOME)\\include -I$(WXCURL)\\include

Custom Compiler profile Import

Hello,

If I've defined custom compiler profile in the Code::Clocks the cbp2make does not importing this custom profile in to cbp2make.cfg

Doesn't compile - no members BaseLibraryName and IsLibraryExtension in CPlatform

cbptarget.cpp||In member function ‘CString CBuildTarget::Libs(const CPlatform&, const CString&)’:|
cbptarget.cpp|302|error: ‘const class CPlatform’ has no member named ‘BaseLibraryName’|
cbproject.cpp||In member function ‘bool CCodeBlocksProject::GenerateMakefile(const CString&, CCodeBlocksBuildConfig&)’:|
cbproject.cpp|818|error: ‘class CPlatform’ has no member named ‘IsLibraryExtension’; did you mean ‘IsStaticLibraryExtension’?|
cbproject.cpp|820|error: ‘class CPlatform’ has no member named ‘BaseLibraryName’|

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.