Skip to content

Commit

Permalink
Cleanup configure script
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Jul 3, 2023
1 parent 537c444 commit 9971b30
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,12 @@ import std.uni;
import std.traits;
import std.typecons : Tuple;

version (Posix)
{
version (OSX) {}
else version (linux) {}
else version (FreeBSD) {}
else
static assert("The current platform is not supported");

enum libPrefix = "lib";
}
else version (Windows)
enum libPrefix = "";

version (OSX) {}
else version (linux) {}
else version (FreeBSD) {}
else version (Windows) {}
else
static assert("This script should only be run on Posix platforms");
static assert("The current platform is not supported");

/**
* The options of the application.
Expand Down

0 comments on commit 9971b30

Please sign in to comment.