Commit 761fef95 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

BUG: try building sqlite in a cleaner way for windows

parent 18b24aeb
Pipeline #9192 canceled with stages
in 11 minutes and 50 seconds
......@@ -112,20 +112,20 @@ stages:
- build/*/*/*/*.cmake
#-------------------------- precheck job ---------------------------------------
fast-build:
extends: .common
only:
- merge_requests
- branches
stage: precheck
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
before_script:
- export GIT_LFS_SKIP_SMUDGE=1
- git checkout -f -q $CI_COMMIT_SHA
- python3 CI/check_twin_pipelines.py
script:
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
- ccache -s
# fast-build:
# extends: .common
# only:
# - merge_requests
# - branches
# stage: precheck
# image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
# before_script:
# - export GIT_LFS_SKIP_SMUDGE=1
# - git checkout -f -q $CI_COMMIT_SHA
# - python3 CI/check_twin_pipelines.py
# script:
# - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
# - ccache -s
legal-check:
extends: .common
......
......@@ -30,9 +30,9 @@ add_definitions(-DSQLITE_ENABLE_RTREE=1)
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION=1)
add_definitions(-DSQLITE_THREADSAFE=1)
add_library(sqlite3 sqlite3_win.c)
add_library(sqlite3 sqlite3.c)
add_executable(sqlite3-bin shell.c)
add_executable(sqlite3-bin shell.c sqlite3.c)
target_link_libraries(sqlite3-bin sqlite3)
set_target_properties(sqlite3-bin PROPERTIES OUTPUT_NAME sqlite3)
......
#if defined (WIN32)
#define SQLITE_API __declspec(dllexport)
#endif
#include "sqlite3.c"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment