mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 02:59:41 +02:00
ide: auto add resources to the main project file on creating a new project
git-svn-id: trunk@16946 -
This commit is contained in:
parent
7c0a1d29a9
commit
808d7c402b
@ -8290,6 +8290,10 @@ begin
|
||||
|
||||
// rebuild codetools defines
|
||||
MainBuildBoss.RescanCompilerDefines(true,true);
|
||||
|
||||
if not Project1.Resources.UpdateMainSourceFile(Project1.MainFilename) then
|
||||
DebugLn('TMainIDE.DoNewProject Project1.Resources.UpdateMainSourceFile failed');
|
||||
|
||||
// (i.e. remove old project specific things and create new)
|
||||
IncreaseCompilerParseStamp;
|
||||
Project1.DefineTemplates.AllChanged;
|
||||
|
Loading…
Reference in New Issue
Block a user