]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/CMakeLists.txt
cmake part of bug 3527, with macro USE_WCHAR_T
[lyx.git] / development / cmake / CMakeLists.txt
index e3b619323f722b2553ddd303966626ac548d8787..e09111ab389c9c746c2a854170ce4bed4f72a252 100644 (file)
@@ -21,6 +21,8 @@ set(VERSION_INFO "CMake Build")
 
 if(WIN32)
        set(USE_WINDOWS_PACKAGING 1)
+elseif(APPLE)
+       set(USE_MACOSX_PACKAGING 1)
 else(WIN32)
        set(USE_POSIX_PACKAGING 1)
 endif(WIN32)
@@ -30,6 +32,10 @@ if(NOT GROUP_CODE)
        set(GROUP_CODE flat)
 endif(NOT GROUP_CODE)
 
+# lyx's source files
+set(LYX_CPP_FILES *.cpp)
+set(LYX_HPP_FILES *.h)
+
 include(LyXPaths)
 include(LyXMacros)
 include(ProjectSourceGroup)
@@ -38,7 +44,7 @@ if(merge)
        set(merge 1 CACHE TYPE STRING FORCE)
        set(MERGE_FILES 1 CACHE TYPE STRING FORCE)
        message(STATUS "")
-       message(STATUS "will merge all *.C files of a project into two files, disable with -Dmerge=0")
+       message(STATUS "will merge all *.cpp files of a project into two files, disable with -Dmerge=0")
        message(STATUS "")
        set(disable-pch  1)
 else(merge)
@@ -248,3 +254,7 @@ include_directories(
 add_subdirectory(boost)
 add_subdirectory(intl)
 add_subdirectory(src)
+
+
+include(../Install)
+