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_3RDPARTY_BUILD=1 msbuild lyx.sln /p:Configuration=Debug /t:LyX /t:tex2lyx and get the error that a target "LyX" does not exist in the lyx.sln file. That is true, there is only a project folder named "LyX". From within MSVC I can compile this folder but not from outside because the target is missing. I get the same problem with MSVC2010. In LyX's 2.1.x branch the target is there, but not in master. thanks and regards Uwe
You've passed -G two times. Peter