diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 07:35:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 07:35:56 +0300 |
commit | e8397e6193452f6e93a19c5aa31d5effaff54f25 (patch) | |
tree | c4adb230624abb1c92b31482605e1927e819e6d2 /source/creator | |
parent | 4c82be95fdaa4bef2f186b12ac28f58fa9a40564 (diff) |
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index e039d67515e..9f3106153ee 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -90,10 +90,14 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux") ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") # Setup the exe sources and buildinfo -SET(EXESRC creator.c) +SET(SRC + creator.c +) IF(WIN32 AND NOT UNIX) - LIST(APPEND EXESRC ../icons/winblender.rc) + LIST(APPEND SRC + ../icons/winblender.rc + ) ENDIF(WIN32 AND NOT UNIX) IF(WITH_BUILDINFO) @@ -112,12 +116,14 @@ IF(WITH_BUILDINFO) -DBUILD_SYSTEM="CMake" ) - LIST(APPEND EXESRC buildinfo.c) + LIST(APPEND SRC + buildinfo.c + ) ENDIF(WITH_BUILDINFO) MESSAGE(STATUS "Configuring blender") -ADD_EXECUTABLE(blender ${EXETYPE} ${EXESRC}) +ADD_EXECUTABLE(blender ${EXETYPE} ${SRC}) # Post build steps for bundling/packaging. |