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.
Cheers,
David
-----Original Message-----
From: "David Zemon" <da...@zemon.name>
Sent: Sunday, August 24, 2014 1:56pm
To: cmake@cmake.org
Subject: [CMake] Unhelpful cmListFileCache error
Hello all,
This problem does not exist in Linux - I have perfect compilation there.
Windows, however, is throwing the following error:
CMake Error: cmListFileCache: error can not open file
C:/Users/David/Documents/GitHub/PropWare
CMake Error: Could not find cmake module file: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:
project(PropWare C CXX ASM COGC COGCXX ECOGC ECOGCXX)My language files are in
<project root>/CMakeModules and I tell CMake to find there with the following:
list(APPEND CMAKE_MODULE_PATH ${PROPWARE_PATH}/CMakeModules)Like I said - this
all works great in Linux. Not so much in Windows though :(
Full source code at [
https://github.com/SwimDude0614/PropWare/tree/release-2.0-nightly ](
https://github.com/SwimDude0614/PropWare/tree/release-2.0-nightly ).
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).
Thanks,
David
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake