Skip to content

Commit

Permalink
add config.nims
Browse files Browse the repository at this point in the history
  • Loading branch information
mashingan committed Jan 6, 2020
1 parent c6dcd33 commit c65ea75
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config.nims
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
let curr = getCurrentDir()
switch("passC", "-I" & curr & "/../cinclude")
12 changes: 12 additions & 0 deletions ffmpeg.nimble
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Package

version = "0.1.0"
author = "Rahmatullah"
description = "Ffmpeg C APIs binding"
license = "MIT"
srcDir = "src"
installDirs = "cinclude"

# Dependencies

requires "nim >= 1.0.2"
2 changes: 0 additions & 2 deletions src/ffmpeg.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{.passC: "-I../cinclude".}

import ffmpeg/utiltypes

import ffmpeg/libavcodec/[avcodec, ac3_parser, adts_parser, avdct,
Expand Down

0 comments on commit c65ea75

Please sign in to comment.