Skip to content

Commit

Permalink
introduced support for building with GDC by splitting config per comp…
Browse files Browse the repository at this point in the history
…iler
  • Loading branch information
aleferri committed Jul 31, 2024
1 parent 5787938 commit 2d9ae83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ configuration "library-autodetect" {
targetType "sourceLibrary"
libs "ssl" "crypto" platform="posix"
excludedSourceFiles "source/deimos/openssl/applink.d"
preGenerateCommands `$DC -run scripts/generate_version.d` platform="posix"
preGenerateCommands `$DC -run scripts/generate_version.d` platform="posix-ldc"
preGenerateCommands `$DC -run scripts/generate_version.d` platform="posix-dmd"
preGenerateCommands `$DC scripts/generate_version.d -o generate_version` `./generate_version` platform="posix-gdc"
postGenerateCommands `rm generate_version` platform="posix-gdc"
versions `DeimosOpenSSLAutoDetect`
}

Expand Down

0 comments on commit 2d9ae83

Please sign in to comment.