Notes |
|
(0037313)
|
David Zemon
|
2014-11-30 11:41
|
|
I should clarify the apparent cause:
If I specify no languages with the project command (therefore leaving C and C++ enabled), it works fine. If I specify only C++ in the project command, it breaks and does not load my toolchain file. |
|
|
(0037328)
|
Brad King
|
2014-12-01 11:14
|
|
FYI, if no project() command is present then CMake inserts one at line 0 of the top-level CMakeLists.txt file. This causes C and CXX to be enabled prior to execution of any other line in the CMakeLists.txt file. |
|
|
(0037351)
|
David Zemon
|
2014-12-01 22:47
|
|
The PropWare build system is setup such that project() is required by all projects (the PROJECT_NAME variable is used throughout).
I ran into this when I had to enable a new language in a C++ project. I changed the project command from `project(my_project)` to `project(my_project CXX DAT)`. I can absolutely see users doing this as well, and that presents a real problem.
Also, sorry about the severity being "major" - that was mistake. |
|
|
(0037353)
|
Brad King
|
2014-12-02 09:13
|
|
|
|
(0042676)
|
Kitware Robot
|
2016-06-10 14:29
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|