Author Topic: cbp2make skips files  (Read 170 times)

Offline ssc_357

  • Single posting newcomer
  • *
  • Posts: 1
cbp2make skips files
« on: April 06, 2017, 04:12:20 pm »
I'm using Code::Blocks 16.1 on Windows and have to create makefiles for several platforms.
Seems that cbp2make which comes for installation with Codeblocks skips some filenames when creating makefile:
My *.cbp contains entries similar to:
$(OBJDIR_UNIX_DEBUG)/src/filename-1.o: src/filename-1.cpp
   $(CXX) $(CFLAGS_UNIX_DEBUG) $(INC_UNIX_DEBUG) -c src/filename-1.cpp -o $(OBJDIR_UNIX_DEBUG)/src/filename-1.o
and others. When creating the makefile with cbp2make all filenames are lost which contain
      ...-xyz.cpp or ...-xyz.h
      where xyz is any number
Inserting an alpabetic character just before or after the number in the filename yields a complete makefile.
For me this seems to be an error in this distribution of cbp2make.
Unfortunately I couldn't change filenames in all our projects.
So I made a new installation of cbp2make from cbp2make-stl-rev147-all.tar.7z which works.