Add a note on static linking
This commit is contained in:
		
							parent
							
								
									66290530a3
								
							
						
					
					
						commit
						9030c4da4a
					
				| 
						 | 
					@ -1,3 +1,9 @@
 | 
				
			||||||
 | 
					// Jon said: "Static linking for runtime is actually the default (even if there is a dll). no_dll means you can't call it at compile-time because a dll is necessary for the compiler to load."
 | 
				
			||||||
 | 
					// The lib that is created with the DLL is
 | 
				
			||||||
 | 
					// just a stub lib. If you want static linking without any need for a DLL then
 | 
				
			||||||
 | 
					// build an actual static lib and use #library,no_static_library
 | 
				
			||||||
 | 
					// @incomplete I'm probably doing something wrong below, so review the above and play around with it.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LIBS_TO_BUILD: Libs : .WAV | .FLAC | .MP3; // @consider making this a metaprogram/command line arg. Can then use this as a git submodule in a project and a script/build file can generate bindings for what the project requires.
 | 
					LIBS_TO_BUILD: Libs : .WAV | .FLAC | .MP3; // @consider making this a metaprogram/command line arg. Can then use this as a git submodule in a project and a script/build file can generate bindings for what the project requires.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Libs :: enum_flags {
 | 
					Libs :: enum_flags {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user