TankOs / SFGUI

Simple and Fast Graphical User Interface
zlib License
431 stars 62 forks source link

Naming of engine's source files #94

Open alejandro-rojas-mariscope opened 1 year ago

alejandro-rojas-mariscope commented 1 year ago

Hello

I just managed to compile SFGUI for the first time using VS2022. Since I could not get cmake to work, I just created a new VS project, dumped in all source files, and configured it into submission until it worked. I got out a static .lib library.

For this to work, I had to rename all files inside src/SFGUI/Engines/BREW, as it complained about two source files on the same project having the same name. The errors I was getting happened whenever some cpp file in BREW folder called a function defined in his twin cpp file, and linker could not find it.

Is there a better way of solving this issue? Or maybe just renaming them for better VS compatibility in the future is the way to go?

Regards