Re: CMake issue

2016-03-06 Thread Uwe Stöhr
Am 06.03.2016 um 16:05 schrieb Uwe Stöhr: I don't know anything about Cmake but since the target "ALL_BUILD" is correctly created it must be possible to add to the LyX.sln file also a target named "LyX" and "TeX2LyX". As workaround I use now msbuild src\LyX.vcxproj /p:Configuration=Debug msbu

Re: CMake issue

2016-03-06 Thread Uwe Stöhr
Am 05.03.2016 um 20:01 schrieb Kornel Benko: If you are using Ninja, will there be .sln files? Yes. For now I removed Ninja from the build script but the problem persists. Remove ALL .sln files and CMakeCache.txt. Will some of them be recreated if used 'cmake -G"Visual Studio 14"? All of

Re: CMake issue

2016-03-05 Thread Kornel Benko
Am Samstag, 5. März 2016 um 18:55:19, schrieb Uwe Stöhr > Am 04.03.2016 um 13:06 schrieb Kornel Benko: > > > 'LyX' is not the same as 'lyx'. What about the target 'lyx'? > > There is also no target "lyx". The sln file has only one target "ALL_BUILD". > > regards Uwe If you are using Ninja, wil

Re: CMake issue

2016-03-05 Thread Uwe Stöhr
Am 04.03.2016 um 13:09 schrieb Peter Kümmel: You've passed -G two times. Yes, but also removing Ninja doesn't lead to a sln file with more than only one target "ALL_BUILD". regards Uwe

Re: CMake issue

2016-03-05 Thread Uwe Stöhr
Am 04.03.2016 um 13:06 schrieb Kornel Benko: 'LyX' is not the same as 'lyx'. What about the target 'lyx'? There is also no target "lyx". The sln file has only one target "ALL_BUILD". regards Uwe

Re: CMake issue

2016-03-04 Thread Peter Kümmel
Am 04.03.2016 um 03:58 schrieb Uwe Stöhr: I have this code in my debug build script: cmake %LYX_SOURCE% -GNinja -G"Visual Studio 14" -DLYX_ENABLE_CXX11=ON -DLYX_USE_QT=QT5 -DLYX_ENABLE_EXPORT_TESTS=0 -DLYX_MERGE_FILES=0 -DLYX_NLS=1 -DLYX_INSTALL=0 -DLYX_RELEASE=0 -DLYX_CONSOLE=FORCE -DLYX_3R

Re: CMake issue

2016-03-04 Thread Kornel Benko
Am Freitag, 4. März 2016 um 03:58:08, schrieb Uwe Stöhr > I have this code in my debug build script: > > cmake %LYX_SOURCE% -GNinja -G"Visual Studio 14" -DLYX_ENABLE_CXX11=ON > -DLYX_USE_QT=QT5 -DLYX_ENABLE_EXPORT_TESTS=0 -DLYX_MERGE_FILES=0 > -DLYX_NLS=1 -DLYX_INSTALL=0 -DLYX_RELEASE=0 -DLYX_C