Build *shared* libs
This commit is contained in:
parent
f40c50e0b3
commit
11042a45db
4 changed files with 4 additions and 2 deletions
|
@ -7,4 +7,6 @@ include_directories(libinjection/src)
|
||||||
add_subdirectory(libinjection/src)
|
add_subdirectory(libinjection/src)
|
||||||
add_dart_native_extension(angel_security_native lib/src/native/angel_security.c)
|
add_dart_native_extension(angel_security_native lib/src/native/angel_security.c)
|
||||||
target_link_libraries(angel_security_native injection)
|
target_link_libraries(angel_security_native injection)
|
||||||
install(TARGETS angel_security_native injection LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src")
|
install(TARGETS angel_security_native injection
|
||||||
|
ARCHIVE DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src"
|
||||||
|
LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src")
|
BIN
lib/src/libangel_security_native.dylib
Executable file
BIN
lib/src/libangel_security_native.dylib
Executable file
Binary file not shown.
BIN
lib/src/libinjection.dylib
Executable file
BIN
lib/src/libinjection.dylib
Executable file
Binary file not shown.
|
@ -1,3 +1,3 @@
|
||||||
add_library(injection
|
add_library(injection SHARED
|
||||||
libinjection.h libinjection_sqli.h libinjection_sqli_data.h
|
libinjection.h libinjection_sqli.h libinjection_sqli_data.h
|
||||||
libinjection_sqli.c)
|
libinjection_sqli.c)
|
Loading…
Reference in a new issue