|
|
I tried building the tip of master today (166a5bf785). I use CMake to build. I got the following error...
-- Looking for POSIX compatible scandir -- POSIX compatible scandir - found -- Found Doxygen: /opt/homebrew/bin/doxygen (found version "1.9.5") found components: doxygen dot -- Found LATEX: /Library/TeX/texbin/latex fatal: not a git repository (or any of the parent directories): .git CMake Error at documentation/CMakeLists.txt:52 (string): string sub-command REPLACE requires at least four arguments.
As you know, CMake does out-of-tree builds. Many people are set up like this...
project/.git # Git repository with source files, etc.
project/build # Build directory
In this situation, the build directory is still in the hierarchy of the git repository. The object files are not dumped in the same place as the source files, but it really isn't out of tree. Instead, I set up like this....
project/repo/.git # Git repository with source files, etc.
project/build # Build directory
Consequently, my CMAKE_BINARY_DIR is never descended from the git repository. My build is truly 'out of tree'.
I think this difference in setup may be leading to the error I'm seeing.
I think the CMake scripts should be robust to either approach as they are both common practice.
Rob
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/26569120-5529-4c05-90fd-d759619f7000n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |