dangmoody / HLML

Auto-generated maths library for C and C++ based on HLSL/Cg
24 stars 1 forks source link

Include .inl files in source files, and .h files in headers #7

Closed dangmoody closed 4 years ago

dangmoody commented 5 years ago

Currently, we include .h everywhere and the .h files will include their respective .inl files (if any) at the bottom of the file. This will affect the user's compile times.

Instead, source files that include HLML files should include .inl files, which include .h files. The header of the user's app can still include HLML headers.

dangmoody commented 4 years ago

This is now a non-issue with the improved includes that are coming soon.