Skip to content

Commit

Permalink
Avoid same targetname.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 committed Dec 21, 2023
1 parent 54c1495 commit 41d914c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions premake/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ solution "ccccc"

links { "ccccc_lib" }
filter { "system:windows" }
linkoptions{path.join("%{cfg.targetdir}", "ccccc.lib")} -- order issue between link and linkoptions
linkoptions{path.join("%{cfg.targetdir}", "ccccc_lib.lib")} -- order issue between link and linkoptions
filter { "system:not windows" }
linkoptions{path.join("%{cfg.targetdir}", "libccccc.a")} -- order issue between link and linkoptions
linkoptions{path.join("%{cfg.targetdir}", "libccccc_lib.a")} -- order issue between link and linkoptions
filter {}
LinkToClang()

Expand All @@ -146,7 +146,7 @@ solution "ccccc"
project "ccccc_lib"
kind "StaticLib"
language "C++"
targetname("ccccc")
targetname("ccccc_lib")
files { path.join(Root, "src/lib/**.*") }
warnings "Extra"
flags { "FatalWarnings"}
Expand All @@ -168,9 +168,9 @@ solution "ccccc"

links { "ccccc_lib" }
filter { "system:windows" }
linkoptions{path.join("%{cfg.targetdir}", "ccccc.lib")} -- order issue between link and linkoptions
linkoptions{path.join("%{cfg.targetdir}", "ccccc_lib.lib")} -- order issue between link and linkoptions
filter { "system:not windows" }
linkoptions{path.join("%{cfg.targetdir}", "libccccc.a")} -- order issue between link and linkoptions
linkoptions{path.join("%{cfg.targetdir}", "libccccc_lib.a")} -- order issue between link and linkoptions
filter {}

LinkToClang()
Expand Down

0 comments on commit 41d914c

Please sign in to comment.