mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
Two changes: 1. Accept BUILD_TINY_HTTPD_OPTLEVEL envvar to adjust the -O<num> level. Defaults to 2. Can be negative to remove it entirely, which fixes errors with MSVC which will bail on incompatible options. 2. Do not use -fPIC with MSVC
32 lines
694 B
Text
32 lines
694 B
Text
# This file is generated by dune, edit dune-project instead
|
|
opam-version: "2.0"
|
|
version: "0.17"
|
|
synopsis: "Interface to camlzip for tiny_httpd"
|
|
maintainer: ["c-cube"]
|
|
authors: ["c-cube"]
|
|
license: "MIT"
|
|
homepage: "https://github.com/c-cube/tiny_httpd/"
|
|
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
|
|
depends: [
|
|
"dune" {>= "3.2"}
|
|
"tiny_httpd" {= version}
|
|
"camlzip" {>= "1.06"}
|
|
"iostream-camlzip" {>= "0.2.1"}
|
|
"logs" {with-test}
|
|
"odoc" {with-doc}
|
|
]
|
|
build: [
|
|
["dune" "subst"] {dev}
|
|
[
|
|
"dune"
|
|
"build"
|
|
"-p"
|
|
name
|
|
"-j"
|
|
jobs
|
|
"@install"
|
|
"@runtest" {with-test}
|
|
"@doc" {with-doc}
|
|
]
|
|
]
|
|
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
|