We could start with the CMakeLists.txt file :-). It doesn't want to do an out of source dir build either, have to see why...
On Fri, Feb 11, 2011 at 9:58 AM, David Cole <[email protected]> wrote: > > I tried compiling it on Windows yesterday with just the following > CMakeLists.txt file, and there were a bunch of compile errors. It shouldn't > be too hard to make it work on Windows, though, if Mr. Martin will accept > some patches for it... :-) > > > cmake_minimum_required(VERSION 2.8) > project(ninja) > > set(ninja_lib_sources > src/build.cc > src/build_log.cc > src/eval_env.cc > src/graph.cc > src/parsers.cc > src/subprocess.cc > src/util.cc > src/ninja_jumble.cc > ) > add_library(ninjaLib STATIC ${ninja_lib_sources}) > > add_executable(ninja src/ninja.cc) > target_link_libraries(ninja ninjaLib) > > > Cheers, > David > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
