xyproto / cxx

:electric_plug: Configuration-free utility for building, testing and packaging executables written in C++. Can auto-detect compilation flags based on includes, via the package system and pkg-config.
BSD 3-Clause "New" or "Revised" License
121 stars 5 forks source link

cxx export error #3

Closed Zibri closed 5 years ago

Zibri commented 5 years ago

$ cxx export make: *** No rule to make target 'export'. Stop.

xyproto commented 5 years ago

Thanks for reporting! There were issues with the export command, so I temporarily removed it.

I'll add it back.

Would it be best with the old behavior, or with a new behavior where a CMakeLists.txt file were generated instead?

Zibri commented 5 years ago

I really don't know, but I would make it generate a normal Makefile and optionally files for cmake or autogen... I never used in the past... but I am getting lazy and I found this little jewel.

Another minor problem is this: I used cxx to compile a small program I made which outputs random numbers as fast as possible. in this case the "cxx opt" fails because my program never ends and also while testing it outputs everything on the screen... I think the same would happen compiling "cat" or "dd" with cxx... Regards and keep it up! If you are interested: https://github.com/Zibri/rand

xyproto commented 5 years ago

My long-term plan is to rewrite cxx and add the possibility to export to CMakeLists.txt.

Added back the export command, for now.

Please test.