Refactor our CMake files. Patch provided by Roman Tsisyk.
Move third_party library compilation to the top level (less directory traversal). Provide an option for using system LibEIO/libobjc. Enforce a naming convention for cmake/ scripts (Find* and Build*). Move ev and eio wrappers to third-party (todo: delete them completely). There is one (known) problem with this patch: tarantool --version now prints incorrect compile flags. To be fixed in a separate patch.
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- CMakeLists.txt 141 additions, 27 deletionsCMakeLists.txt
- client/CMakeLists.txt 2 additions, 1 deletionclient/CMakeLists.txt
- client/tarantool/CMakeLists.txt 3 additions, 2 deletionsclient/tarantool/CMakeLists.txt
- client/tarantool_checksum/CMakeLists.txt 10 additions, 6 deletionsclient/tarantool_checksum/CMakeLists.txt
- cmake/BuildLibCORO.cmake 18 additions, 0 deletionscmake/BuildLibCORO.cmake
- cmake/BuildLibEIO.cmake 28 additions, 0 deletionscmake/BuildLibEIO.cmake
- cmake/BuildLibEV.cmake 59 additions, 0 deletionscmake/BuildLibEV.cmake
- cmake/BuildLibGOPT.cmake 17 additions, 0 deletionscmake/BuildLibGOPT.cmake
- cmake/BuildLibOBJC.cmake 15 additions, 21 deletionscmake/BuildLibOBJC.cmake
- cmake/BuildMisc.cmake 33 additions, 0 deletionscmake/BuildMisc.cmake
- cmake/CMakeTestOBJCCompiler.cmake 48 additions, 0 deletionscmake/CMakeTestOBJCCompiler.cmake
- cmake/CMakeTestOBJCXXCompiler.cmake 48 additions, 0 deletionscmake/CMakeTestOBJCXXCompiler.cmake
- cmake/FindLibEIO.cmake 17 additions, 0 deletionscmake/FindLibEIO.cmake
- cmake/FindLibEV.cmake 17 additions, 0 deletionscmake/FindLibEV.cmake
- cmake/FindLibOBJC.cmake 18 additions, 0 deletionscmake/FindLibOBJC.cmake
- cmake/check_objective_c_compiler.cmake 0 additions, 32 deletionscmake/check_objective_c_compiler.cmake
- cmake/compiler.cmake 103 additions, 77 deletionscmake/compiler.cmake
- cmake/luajit.cmake 10 additions, 8 deletionscmake/luajit.cmake
- cmake/os.cmake 7 additions, 4 deletionscmake/os.cmake
Loading
Please register or sign in to comment