mirror of
https://github.com/simon987/deepextract.git
synced 2025-04-10 14:06:44 +00:00
Initial commit
This commit is contained in:
commit
1cb8d6525b
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
.idea/
|
||||||
|
*.iml
|
||||||
|
cmake_install.cmake
|
||||||
|
*.cbp
|
||||||
|
Makefile
|
||||||
|
CMakeCache.txt
|
||||||
|
CMakeFiles
|
||||||
|
cmake-build-debug
|
||||||
|
deepextract
|
24
CMakeLists.txt
Normal file
24
CMakeLists.txt
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.7)
|
||||||
|
project(deepextract C)
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_STANDARD 99)
|
||||||
|
option(STATIC_BUILD "Static build" off)
|
||||||
|
|
||||||
|
add_executable(
|
||||||
|
deepextract main.c
|
||||||
|
)
|
||||||
|
|
||||||
|
if (STATIC_BUILD)
|
||||||
|
target_link_libraries(
|
||||||
|
deepextract
|
||||||
|
-static
|
||||||
|
archive
|
||||||
|
acl
|
||||||
|
)
|
||||||
|
else ()
|
||||||
|
target_link_libraries(
|
||||||
|
deepextract
|
||||||
|
archive
|
||||||
|
)
|
||||||
|
endif ()
|
4
ci/build.sh
Executable file
4
ci/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
cmake -D STATIC_BUILD=on .
|
||||||
|
make
|
Loading…
x
Reference in New Issue
Block a user