You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When cloning cFS and after configuring the Makefile/CMake files, CLion is unable to properly import the project.
Clion runs the command make --just-print --print-directory --keep-going all which typically errors out, but now does so before anything useful happens.
To Reproduce
Steps to reproduce the behavior:
Clone cFS on or after f378320af1d9a1b2399dabfde5f6b22af3b1416b
Copy cfe/cmake/Makefile.sample to the project root as well as cfe/cmake/sample_defs
run make prep then make --just-print --print-directory --keep-going all
Observe how quickly the makefile errors out
Switch to a commit before f378320af1d9a1b2399dabfde5f6b22af3b1416b
make distclean && make prep and make --just-print --print-directory --keep-going all
Observe how much more information is provided (this is sufficient for CLion to detect the project correctly)
Expected behavior
At the end of this import process, CLion should be able to provide code sense and other features.
System observed on:
OS: Ubuntu 22.04
cFS hash: f378320af1d9a1b2399dabfde5f6b22af3b1416b (last known working hash: 0befc9779e348b8af9d403a7f6d858a5474bc907)
cFE hash: dab2f42e9d54b187e6d18140d7c961cd88c2b6d1 (last known working hash: b524c691ecfde656b29b513c84be9aaafc96c453)
It would seem that the offending commit stems from #2587
Additional context
The logs provided by CLion are as follows:
Describe the bug
When cloning cFS and after configuring the Makefile/CMake files, CLion is unable to properly import the project.
Clion runs the command
make --just-print --print-directory --keep-going all
which typically errors out, but now does so before anything useful happens.To Reproduce
Steps to reproduce the behavior:
f378320af1d9a1b2399dabfde5f6b22af3b1416b
cfe/cmake/Makefile.sample
to the project root as well ascfe/cmake/sample_defs
make prep
thenmake --just-print --print-directory --keep-going all
f378320af1d9a1b2399dabfde5f6b22af3b1416b
make distclean && make prep
andmake --just-print --print-directory --keep-going all
Expected behavior
At the end of this import process, CLion should be able to provide code sense and other features.
System observed on:
f378320af1d9a1b2399dabfde5f6b22af3b1416b
(last known working hash:0befc9779e348b8af9d403a7f6d858a5474bc907
)dab2f42e9d54b187e6d18140d7c961cd88c2b6d1
(last known working hash:b524c691ecfde656b29b513c84be9aaafc96c453
)It would seem that the offending commit stems from #2587
Additional context
The logs provided by CLion are as follows:
It is interesting of note that
still works as intended.
You will also notice between offending and non offending commits a block in the output of the make containing:
which (including lines prior) gives CLion the information it needs to understand how
ci_lab
is built. Without it CLion is clueless.The text was updated successfully, but these errors were encountered: