<font face="courier new" size="2"><p style="margin:0;padding:0;margin: 0; padding: 0; font-family: 'courier new'; font-size: 10pt; word-wrap: break-word;">I am at a complete loss on what to look for here. This error started when I tried adding "list(append ....)" instead of copying the language files to the CMake installation directory. If anyone has any idea where to look, I'm all ears. I think 95% of my users will be on Windows, so I can't launch until I get past this bug.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: 'courier new'; font-size: 10pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: 'courier new'; font-size: 10pt; word-wrap: break-word;">Cheers,</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: 'courier new'; font-size: 10pt; word-wrap: break-word;">David</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: 'courier new'; font-size: 10pt; word-wrap: break-word;"><br />-----Original Message-----<br />From: "David Zemon" <david@zemon.name><br />Sent: Sunday, August 24, 2014 1:56pm<br />To: cmake@cmake.org<br />Subject: [CMake] Unhelpful cmListFileCache error<br /><br /></p>
<div id="SafeStyles1409001232">Hello all,<br /><br /> This problem does not exist in Linux - I have perfect compilation there. Windows, however, is throwing the following error:<br />
<blockquote><tt>CMake Error: cmListFileCache: error can not open file C:/Users/David/Documents/GitHub/PropWare</tt><tt><br /></tt><tt>CMake Error: Could not find cmake module file:</tt></blockquote>
The "can not open file" points to the root directory of my project. The error is somehow connected to enabling new languages. I get the above two lines once for each new language that I try to add. The line enabling the project is as follows:<br />
<blockquote><tt>project(PropWare C CXX ASM COGC COGCXX ECOGC ECOGCXX)</tt></blockquote>
My language files are in <project root>/CMakeModules and I tell CMake to find there with the following:<br />
<blockquote><tt>list(APPEND CMAKE_MODULE_PATH ${PROPWARE_PATH}/CMakeModules)</tt></blockquote>
Like I said - this all works great in Linux. Not so much in Windows though :(<br /><br /> Full source code at <a class="moz-txt-link-freetext" href="https://github.com/SwimDude0614/PropWare/tree/release-2.0-nightly">https://github.com/SwimDude0614/PropWare/tree/release-2.0-nightly</a>.<br /><br /> Easiest way to test this for yourself is to run INSTALL.py from the util directory - it will install necessary dependencies (the compiler and CMake 3 if not in the PATH already).<br /><br /> Thanks,<br /> David</div></font>