Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Build failures with ENABLE_TESTS #178
As we have just discussed on IRC, the option ENABLE_TESTS fails to build on gentoo, because they have distinct build and source directories with cmake.
Build log is at http://dpaste.com/3Z70C7V
For a successfull build, I have changed the includes in the source tree and added the source directory to flags.make in the build directory: "weechat-1.0_build/tests/CMakeFiles/weechat_unit_tests.dir":
Then I changed all references to ../src and ../tests within tests/unit/core/test-*.cpp.
Sorry for not posting a patch file, I yet have to find out how to attach one.