doe300 / VC4C

Compiler for the VC4CL OpenCL implementation
MIT License
118 stars 37 forks source link

Add: Add more files to .gitignore #123

Closed nomaddo closed 5 years ago

nomaddo commented 5 years ago

This patch modifies .gitignore to pressure noisy messages untrucked files by git status.

BTW, I think some configurations are strange. For example,

The upper behaviors are not related this patch, but it makes myself understood that configs are a little bit strange.

doe300 commented 5 years ago

No, these files shouldn't be added. I changed the way you call cmake to be more compliant with how most other projects do it, also making it easier to allow out-of-source builds.

Now, the build sub-folder is no longer created automatically, so you will have to create it yourself and run cmake from within that folder:

cd <VC4C root>
mkdir build && cd build
cmake ../
make

As a side-effect, the VC4C executable is built into build/src/VC4C, but otherwise the behavior is the same. I also did the same changes for the VC4CL project.