glocq / Amati

GNU General Public License v3.0
34 stars 4 forks source link

Additions to CMakeLists.txt to better organize information in IDEs #8

Closed jdsierral closed 3 years ago

jdsierral commented 3 years ago

In general is just adding some organization instructions so that folders in an IDE show up properly. Notable details include adding header files to source files: This is important so that an IDE can build "Counterpart" relationships between .h files and .cpp files Formats were also separated as they are later used to move all those targets into a general Targets folder

Tested this in Xcode (It also seems to be working properly in VS2019 but couldn't build because of Faust dependencies)

Most of the changes come from suggestions on this discussion.

jdsierral commented 3 years ago

I did a general code review suggesting changes to implement more modern C++ practices such as smart pointers. The rest were general things that should be showing as warnings in any case.

jdsierral commented 3 years ago

I also removed empty argv in favor nullptr and whenever there are conditionals on returns simplified them to match the real intention of the code

glocq commented 3 years ago

Thanks a lot for the detailed info, it's great for learning to have a personalized code review like that. I still have a few issues and questions.

jdsierral commented 3 years ago

No prob :)... I thought about doing a general first pull request before diving directly in the parameter stuff to see how it would work XD (learning a lot myself with all this :) )

glocq commented 3 years ago

Ah yes, I just realized you were the one who added AUv3 in the first place. I am letting you deal with the MacOS specific stuff indeed. I just merged your changes! (except for the last commit) Thank you for your work. Looking forward to the parameter stuff if you do it :)