#To make a solution file to navigate the ragel source code from the Visual Studio GUI: #xcopy /S c:\work\osd\ragel\6.9\patch\*.* c:\work\ragel-6.9 #cmake -G "Visual Studio 10" -DCMAKE_INSTALL_PREFIX=c:\work\local c:\work\ragel-6.9 project (ragel) cmake_minimum_required (VERSION 2.8) include_directories (${CMAKE_CURRENT_SOURCE_DIR}/aapl) #Visual Studio 2012 and earlier do not implement strtoll() #Use _strtoi64() instead if available. if (MSVC) if (MSVC_VERSION LESS 1300) #Visual Studio prior to 2003 does not implement _strtoi64() message (FATAL_ERROR "Ragel requires _strtoi64()") elseif (MSVC_VERSION LESS 1800) #Use _strtoi64() in place of strtoll() add_definitions (-Dstrtoll=_strtoi64) endif (MSVC_VERSION LESS 1300) endif (MSVC) add_subdirectory (ragel)