I have to always press "clean" before the "Run" so that changes appear in my program. My project contains mostly " .h or .hpp files" without .cpp.
-First run is fine. Building, Linking.. and it takes some time
-Then I go to the .h or .hpp files and making my changes
-App is opened but without any change.
-Trying to click "Build->Recompile MyFile1.h" (no results, still no changes after run)
-Trying to click "Build->My Project" (no results, still no changes after run)
-Trying to click "Clean" (TADA! I now have the changes after run)
I don't seem noticed this issue when I do .cpp changes. The issue seems only with .h/hpp files.
Please help. I'm tired of waiting for 3-5 minutes of compilation after each "Clean". Thanks!
P.S. and "Yes" I have "Build" in the "Before Lunch" settings. When I use Xcode I don't see this issue.
Model Name: MacBook Pro
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Version: macOS 11.4 (20F71)
Kernel Version: Darwin 20.5.0