-
-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make warnings if objdir and targetdir point to the same directory #726
Comments
tritao
changed the title
Make warnings if objdir and targetdir are the same
Make warnings if objdir and targetdir point to the same directory
Mar 31, 2017
Was able to replicate this issue and creating a local project_name = "test"
workspace (project_name)
configurations ("Debug", "Release")
location ("build/" .. _ACTION)
project (project_name)
kind "ConsoleApp"
location ("build/" .. _ACTION)
language "C++"
cppdialect "C++11"
architecture "x86_64"
files {
"main.cpp",
}
targetdir ("bin/" .. _ACTION .. "/%{cfg.buildcfg}")
objdir ("bin/" .. _ACTION .. "/%{cfg.buildcfg}") |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the title says, if
objdir
andtargetdir
point to the same directory, then we'll get some errors:This makes sense if we look at the makefile:
If the directories are the same, then only one of these targets needs to be generated.
The text was updated successfully, but these errors were encountered: