New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmake] Move to root #10446
[cmake] Move to root #10446
Conversation
472f9b5
to
cbd69e8
Compare
4d17318
to
e636efa
Compare
this btw would also allow later also to get rid of the CORE_SOURCE_DIR variable (and we can use CMAKE_SOURCE_DIR) instead |
Yeap, that's the plan. BTW, I need a bool in jenkins to test this. Something like "CMakeLists.txt is in root folder." Crap, need to rebase again. |
Can we get rid of the treedata with this? It feels wrong but maybe there's a good reason for it that I am missing |
The treedata is sth different. That tells cmake which CMakeLists from which subfolders to include. |
That's my thinking, add_directory is easier to follow and translates better between projects. I know it's not really related but thought maybe we can sneak it in here |
979a515
to
955d3d1
Compare
Separation of code and data is the reason.
|
+1 to get rid of treedata. I think add_directory for each first level subdirectory it'a a better way. |
16e31f1
to
6f0533b
Compare
ea1f1c1
to
e2f508d
Compare
0e1b4bf
to
1895245
Compare
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-cmake-add-FindIconv.cmake.patch - 0003-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008 Signed-off-by: fli4l <fli4l@fli4lbuild64.lan.fli4l>
Rebased patches - 0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch - 0002-CMake-Remove-dependency-on-gmp-and-libintl-from-Find.patch after move of project/cmake in xbmc/xbmc#10446 Updated dependencies - fmt xbmc/xbmc#11039 - yajl was replaced by RapidJSON xbmc/xbmc#8008
Just to get the ball rolling.
cc/ @fetzerch, @wsnipex, @notspiff and anyone else interested in testing/debugging.
Build-tested under linux (core/addons).
buildsteps/depends stuff separated on purpose. Unified deps and jenkins scripts are voodoo to me.