mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
cmake: add option to rebuild merged files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36746 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
099059758d
commit
56e0cfd582
@ -69,6 +69,7 @@ LYX_OPTION(VLD "Use VLD with MSVC" OFF MSVC)
|
||||
LYX_OPTION(WALL "Enable all warnings" OFF MSVC)
|
||||
LYX_OPTION(DISABLE_PCH "Disable precompiled headers" ON ALL)
|
||||
LYX_OPTION(MERGE_FILES "Merge source files into one compilation unit" OFF ALL)
|
||||
LYX_OPTION(MERGE_REBUILD "Rebuild generated files from merged files build" OFF ALL)
|
||||
LYX_OPTION(DEBUG_GLIBC "Enable libstdc++ debug mode" OFF GCC)
|
||||
LYX_OPTION(DEBUG_GLIBC_PEDANTIC "Enable libstdc++pedantic debug mode" OFF GCC)
|
||||
LYX_OPTION(STDLIB_DEBUG "Use debug stdlib" OFF GCC)
|
||||
|
@ -152,7 +152,8 @@ macro(lyx_const_touched_files _allinone_name _list)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (merge_rebuild)
|
||||
if (LYX_MERGE_REBUILD)
|
||||
#message(STATUS "Merge files build: rebuilding generated files")
|
||||
set(_rebuild_file_const 1)
|
||||
set(_rebuild_file_touched 1)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user