On Sun, Aug 4, 2019 at 1:47 AM Kornel Benko <[email protected]> wrote:
> Am Sonntag, 4. August 2019, 09:34:53 CEST schrieb Kornel Benko:
>
> > I don't see it here.
> > 1.) What is your cmake version? (my is 'cmake version
> 3.15.20190726-g8ce18')
>
3.15.1
> > 2.) What is the path of this dir?
> > Searching for include in the build gives here nothing.
> > $ find . -name include
>
I've attached two logs. The first (cmake_use.txt) is me using cmake. I'm
not passing any parameters. Furthermore, this isn't a cmake issue but a
LyX issue. The second log shows me building directly with LyX and without
cmake altogether. However, in both cases, I get an empty `include`
directory (shown with `ls -alR`).
Please read "cmake_use.txt" first, the other log is a continuation of it.
> Retested with your CMakeLists.txt I get
> $ cmake ..
> $ make
> $ ls -l
>
Look one directory higher—what do you see?
Thanks for your willingness to help with this so quickly!
- Joel
479 jkulesza@tempest[~]> rm -rf ~/build/
479 jkulesza@tempest[~]> mkdir build
479 jkulesza@tempest[~]> cd build/
479 jkulesza@tempest[~/build]> mkdir cmake_use
479 jkulesza@tempest[~/build]> cd cmake_use/
479 jkulesza@tempest[~/build/cmake_use]> cmake --version
cmake version 3.15.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
479 jkulesza@tempest[~/build/cmake_use]> cmake ~/tmp/cmd_line_test/doc/
-- LyX: /Applications/lyx.app/Contents/MacOS/lyx
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jkulesza/build/cmake_use
479 jkulesza@tempest[~/build/cmake_use]>
/Applications/lyx.app/Contents/MacOS/lyx --version
LyX 2.3.3 (2019-06-10)
Configuration
Host type: x86_64-apple-darwin18.6.0
Special build flags: build=release std-regex warnings use-hunspell
use-aspell
Bundled libraries: boost mythes
C++ Compiler: c++ -stdlib=libc++ (10.0.1)
C++ Compiler flags: -Wall -Wextra -Os -std=c++14
-Wno-deprecated-register
C++ Compiler user flags: -I/Users/Shared/LyX/utilities/include -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -mmacosx-version-min=10.10 -std=c++14 -std=c++11
Linker flags:
Linker user flags: -L/Users/Shared/LyX/utilities/lib -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -mmacosx-version-min=10.10
Qt Frontend:
Qt version: 5.9.8
Packaging: macosx
LyX binary dir:
/Users/Shared/LyX/lyx-build/LyX-2.3.3.app/Contents/MacOS
LyX files dir:
/Users/Shared/LyX/lyx-build/LyX-2.3.3.app/Contents/Resources
479 jkulesza@tempest[~/build/cmake_use]> make
Scanning dependencies of target test_doc
[100%] Generating base_doc.pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded
format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./base_doc.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
[100%] Built target test_doc
479 jkulesza@tempest[~/build/cmake_use]> ls -alR ~/build/
total 0
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:34 .
drwxr-xr-x+ 138 jkulesza staff 4416 Aug 4 07:34 ..
drwxr-xr-x 7 jkulesza staff 224 Aug 4 07:34 cmake_use
drwxr-xr-x 2 jkulesza staff 64 Aug 4 07:34 include
/Users/jkulesza/build//cmake_use:
total 72
drwxr-xr-x 7 jkulesza staff 224 Aug 4 07:34 .
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:34 ..
-rw-r--r-- 1 jkulesza staff 4889 Aug 4 07:34 CMakeCache.txt
drwxr-xr-x 12 jkulesza staff 384 Aug 4 07:34 CMakeFiles
-rw-r--r-- 1 jkulesza staff 4243 Aug 4 07:34 Makefile
-rw-r--r-- 1 jkulesza staff 13873 Aug 4 07:34 base_doc.pdf
-rw-r--r-- 1 jkulesza staff 1376 Aug 4 07:34 cmake_install.cmake
/Users/jkulesza/build//cmake_use/CMakeFiles:
total 64
drwxr-xr-x 12 jkulesza staff 384 Aug 4 07:34 .
drwxr-xr-x 7 jkulesza staff 224 Aug 4 07:34 ..
drwxr-xr-x 3 jkulesza staff 96 Aug 4 07:34 3.15.1
-rw-r--r-- 1 jkulesza staff 644 Aug 4 07:34
CMakeDirectoryInformation.cmake
-rw-r--r-- 1 jkulesza staff 40 Aug 4 07:34 CMakeOutput.log
-rw-r--r-- 1 jkulesza staff 129 Aug 4 07:34 CMakeRuleHashes.txt
-rw-r--r-- 1 jkulesza staff 1611 Aug 4 07:34 Makefile.cmake
-rw-r--r-- 1 jkulesza staff 3315 Aug 4 07:34 Makefile2
-rw-r--r-- 1 jkulesza staff 175 Aug 4 07:34 TargetDirectories.txt
-rw-r--r-- 1 jkulesza staff 85 Aug 4 07:34 cmake.check_cache
-rw-r--r-- 1 jkulesza staff 2 Aug 4 07:34 progress.marks
drwxr-xr-x 8 jkulesza staff 256 Aug 4 07:34 test_doc.dir
/Users/jkulesza/build//cmake_use/CMakeFiles/3.15.1:
total 8
drwxr-xr-x 3 jkulesza staff 96 Aug 4 07:34 .
drwxr-xr-x 12 jkulesza staff 384 Aug 4 07:34 ..
-rw-r--r-- 1 jkulesza staff 362 Aug 4 07:34 CMakeSystem.cmake
/Users/jkulesza/build//cmake_use/CMakeFiles/test_doc.dir:
total 48
drwxr-xr-x 8 jkulesza staff 256 Aug 4 07:34 .
drwxr-xr-x 12 jkulesza staff 384 Aug 4 07:34 ..
-rw-r--r-- 1 jkulesza staff 316 Aug 4 07:34 DependInfo.cmake
-rw-r--r-- 1 jkulesza staff 2588 Aug 4 07:34 build.make
-rw-r--r-- 1 jkulesza staff 215 Aug 4 07:34 cmake_clean.cmake
-rw-r--r-- 1 jkulesza staff 100 Aug 4 07:34 depend.internal
-rw-r--r-- 1 jkulesza staff 100 Aug 4 07:34 depend.make
-rw-r--r-- 1 jkulesza staff 22 Aug 4 07:34 progress.make
/Users/jkulesza/build//include:
total 0
drwxr-xr-x 2 jkulesza staff 64 Aug 4 07:34 .
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:34 ..
480 jkulesza@tempest[~/build/cmake_use]>
480 jkulesza@tempest[~/build/cmake_use]> cd
480 jkulesza@tempest[~]> rm -rf build/
480 jkulesza@tempest[~]> mkdir build
480 jkulesza@tempest[~]> cd build/
480 jkulesza@tempest[~/build]> mkdir cmake_no_use
480 jkulesza@tempest[~/build]> cd cmake_no_use/
480 jkulesza@tempest[~/build/cmake_no_use]>
/Applications/lyx.app/Contents/MacOS/lyx --export-to pdf2 test.pdf
~/tmp/cmd_line_test/doc/
LyX failed to load the following file:
/Users/jkulesza/tmp/cmd_line_test/doc/.lyx
480 jkulesza@tempest[~/build/cmake_no_use]>
/Applications/lyx.app/Contents/MacOS/lyx --export-to pdf2 test.pdf
~/tmp/cmd_line_test/doc/base_doc.lyx
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded
format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./base_doc.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.
480 jkulesza@tempest[~/build/cmake_no_use]> ls -alR ~/build/
total 0
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:36 .
drwxr-xr-x+ 138 jkulesza staff 4416 Aug 4 07:36 ..
drwxr-xr-x 3 jkulesza staff 96 Aug 4 07:36 cmake_no_use
drwxr-xr-x 2 jkulesza staff 64 Aug 4 07:36 include
/Users/jkulesza/build//cmake_no_use:
total 32
drwxr-xr-x 3 jkulesza staff 96 Aug 4 07:36 .
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:36 ..
-rw-r--r-- 1 jkulesza staff 13873 Aug 4 07:36 test.pdf
/Users/jkulesza/build//include:
total 0
drwxr-xr-x 2 jkulesza staff 64 Aug 4 07:36 .
drwxr-xr-x 4 jkulesza staff 128 Aug 4 07:36 ..
480 jkulesza@tempest[~/build/cmake_no_use]>