[Cmake] CMAKE_ROOT

Bill Hoffman bill.hoffman at kitware.com
Wed May 30 13:08:22 EDT 2001


I guess you will have to create a Templates/CMakeBorlandSystemConfig.cmake file.


Your generator should have something like this:

void cmBorlandGenerator::ComputeSystemInfo()
{
  // now load the settings
  std::string fpath = 
    cmCacheManager::GetInstance()->GetCacheValue("CMAKE_ROOT");
  fpath += "/Templates/CMakeBorlandSystemConfig.cmake";
  m_Makefile->ReadListFile(NULL,fpath.c_str());
}


I would start with the Windows one, and use the same variable names.

-Bill

At 05:46 PM 5/30/2001 +0100, you wrote:
>What can I do about not having
>
>/Templates/CMakeWindowsSystemConfig.cmake
>
>or anything else resembling it?
>
>thanks again
>
>JB
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake





More information about the CMake mailing list