coder137 / build_in_cpp

Build C, C++ and ASM files in C++
https://coder137.github.io/build_in_cpp/
Apache License 2.0
50 stars 2 forks source link

Buildcc Single and Interface Library segregation #82

Closed coder137 closed 3 years ago

coder137 commented 3 years ago

Create 2 new BUILDCC options

option(BUILDCC_BUILD_AS_SINGLE_LIB "Build all internal libs and modules as part of the buildcc library" ON)
option(BUILDCC_BUILD_AS_INTERFACE "Build all internal libs and modules seperately and link" OFF)

In the BUILDCC_BUILD_AS_SINGLE_LIB option all library sources are compiled as part of a single unit with buildcc In the BUILDCC_BUILD_AS_INTERFACE option internal and external libraries are built separately and interfaced with buildcc_i