FLAMEGPU / FLAMEGPU2

FLAME GPU 2 is a GPU accelerated agent based modelling framework for CUDA C++ and Python
https://flamegpu.com
MIT License
107 stars 22 forks source link

CMake: flamegpu_new_linter_target uses PROJECT_NAME not NAME #1057

Closed ptheywood closed 1 year ago

ptheywood commented 1 year ago

The custom CMake function flamegpu_new_linter_target uses a project scoped variable, not the function scoped name variable, preventing the definition of 2 flamegpu executables within one CMake project.

This is effectively a copy-paste bug in cpplint.cmake

I'll fix this when I have time to check for other occurances too.