SFML community forums

Help => General => Topic started by: Sobstory on January 19, 2024, 08:46:37 pm

Title: Changing File Name
Post by: Sobstory on January 19, 2024, 08:46:37 pm
I want to use SFML on windows 11 with CLION, and can succesfully run it using the git repository. However I want to wholly change the project name if possible. For example, If I change all occurrences of 'CMakeSFMLProject' in CMAKELists.txt to 'abc'

I get error -
ninja: error: unknown target 'CMakeSFMLProject', and my project's header in the CLION window is also CMakeSFMLProject.

Is it possible to wholly change the project name after importing from version control?
Title: Re: Changing File Name
Post by: eXpl0it3r on January 19, 2024, 09:02:15 pm
You probably have to delete the cache and regenerate the project. Not sure how CLion handles such a project name change.