We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1254af4 commit 47b9bfcCopy full SHA for 47b9bfc
tools/building.py
@@ -869,7 +869,8 @@ def GenTargetProject(program = None):
869
870
if GetOption('target') == 'eclipse':
871
from targets.eclipse import TargetEclipse
872
- TargetEclipse(Env, GetOption('reset-project-config'), GetOption('project-name'))
+ project_name = os.path.basename(Dir('#').abspath)
873
+ TargetEclipse(Env, GetOption('reset-project-config'), project_name)
874
875
if GetOption('target') == 'codelite':
876
from targets.codelite import TargetCodelite
0 commit comments