Static library implementation, including source code implementation

What are the general differences between compiling a program as a static library compared to the source code in a program?

that is . A program with functions that is compiled as a static library (.lib) and associated with a vs A program with functions that are included as the source file in the main program.

Are static libraries more suitable for release when releasing closed source programs? Faster compilation? etc..

+4
source share
4 answers

I would recommend including the source code because:

  • , . .
  • , .
  • , .
+2

, . , .

, . , , , .

, , , , .

0

, , . : , . Wikipedia:

- . , , , . .

-1

.lib .dll ( - ) {No Repetition}.

, , , , , , , .

-, user3647458 , , , .lib - , (, ).

-1

Source: https://habr.com/ru/post/1540958/


All Articles