To anybody that's still dealing with this, I've posted some reworking and numerous bugfixes to rbmj's cmake toolchain. Off of the top of my head:
- Fixed bug with whitespace in CMAKE_COMMAND path
- Moved WPILib to a cmake find module
- Added GCC version to the toolchain files configuration
The moving of WPILib to a find module adds a line of code to the CMakeLists.txt file for the actual robot project, but it makes sense. WPILib is not an integral part of VxWorks, and shouldn't be part of the toolchain. Rather, it is an optional library, and should be treated as one.
I'd also like to give a little shoutout to Ross Light's
frctool, which I'm using to push the FRC_UserProgram.out file up to the cRIO.
I'm putting in a pull request to rbmj as we speak, but if anybody wants to see my changes
now, and any future changes, my fork of cmake_vxworks can be found at
https://github.com/mcoffin/cmake_vxworks.