I'm putting together a "library of libraries" for the C++ programming language. Each library is a collection of one or more text files of source code, plus a text file containing the license.


Rather than require the users of my "library of libraries" to download and import each individual library into their project, I'd prefer to put all the different libraries together into single massive text file.


This is not a modification of the source code, since the license covers the code, not the text file itself (and in most cases modification is allowed, but I'd like to avoid it altogether just in case.) I'm thinking I can just insert the licenses directly into the source code as a comment (a 'comment' is a section ignored by the programming language where you can write anything.)


So what would start as:



```
Library 1
 - file1A.cpp  "1A code"
 - file1B.cpp  "1B code"
 - license1.txt  "1 license"
Library 2
 - file2A.cpp  "2A code"
 - file2B.cpp  "2B code"
 - license2.txt  "2 license"

```

Becomes



```
- library.cpp
   /* Notice: the following is subject to license1 */
   1A code
   1B code
   /* Notice: the following is subject to license2 */
   2A code
   2B code

```

All I've done is changed the delivery format, so this should be acceptable. Can you see any reason why it would not be?



Source code licenses: can I append together source code from different sources if I include all licenses?