Skip to content

Commit

Permalink
Merge branch 'sd/fixbuild' of github.com:JuliaGeometry/EarCut.jl into…
Browse files Browse the repository at this point in the history
… sd/fixbuild
  • Loading branch information
SimonDanisch committed Dec 7, 2017
2 parents 59f1a66 + 34e6ee5 commit ede5f99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 123 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
*.dll
*.o
*.so
cwrapper.jl
cwrapper.cpp
11 changes: 7 additions & 4 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
if is_windows()
using WinRPM
end

function find_gpp()
if is_windows()
#TODO, is this really the hardcoded way to get the WinRPM path to g++ ?
gpp = Pkg.dir("WinRPM","deps","usr","x86_64-w64-mingw32","sys-root","mingw","bin","g++")
if !isfile(gpp*".exe")
info("g++ not found. installing gcc-c++ using WinRPM")
@eval using WinRPM
WinRPM.install("gcc-c++"; yes = true)
WinRPM.install("gcc"; yes = true)
WinRPM.install("headers"; yes = true)
WinRPM.install("gcc-c++", yes = true)
WinRPM.install("gcc", yes = true)
WinRPM.install("headers", yes = true)
end
RPMbindir = Pkg.dir("WinRPM","deps","usr","x86_64-w64-mingw32","sys-root","mingw","bin")
incdir = Pkg.dir("WinRPM","deps","usr","x86_64-w64-mingw32","sys-root","mingw","include")
Expand Down
119 changes: 0 additions & 119 deletions deps/cwrapper.cpp

This file was deleted.

0 comments on commit ede5f99

Please sign in to comment.