(FEA) Now you can compile Compound into a .so file!
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -20,3 +20,4 @@ compile
|
||||
.vscode/
|
||||
todo
|
||||
vsc*
|
||||
libcompound.so
|
||||
|
@@ -2,6 +2,16 @@ cmake_minimum_required (VERSION 3.5)
|
||||
|
||||
project (Compound)
|
||||
|
||||
set(SHARED_SOURCE
|
||||
Status/src/status.c
|
||||
Utils/src/utils.c
|
||||
Var/src/var.c
|
||||
catlog.c)
|
||||
|
||||
set(LIBCOMPOUND_SOURCE ${SHARED_SOURCE})
|
||||
|
||||
add_library(compound SHARED ${LIBCOMPOUND_SOURCE})
|
||||
|
||||
add_compile_options(-g -std=c99 -Wall -Wextra -Wformat)
|
||||
LINK_LIBRARIES(m)
|
||||
|
||||
|
Reference in New Issue
Block a user