improved out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1611 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -323,9 +323,9 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/lmms.rc.in ${CMAKE_BINARY_DIR}/lmms.rc)
|
||||
# people simply updating SVN will still have this and mess up build with it
|
||||
FILE(REMOVE include/lmmsconfig.h)
|
||||
|
||||
FILE(GLOB lmms_INCLUDES include/*.h)
|
||||
FILE(GLOB lmms_UI src/gui/dialogs/*.ui)
|
||||
FILE(GLOB_RECURSE lmms_SOURCES src/*.cpp)
|
||||
FILE(GLOB lmms_INCLUDES ${CMAKE_SOURCE_DIR}/include/*.h)
|
||||
FILE(GLOB lmms_UI ${CMAKE_SOURCE_DIR}/src/gui/dialogs/*.ui)
|
||||
FILE(GLOB_RECURSE lmms_SOURCES ${CMAKE_SOURCE_DIR}/src/*.cpp)
|
||||
|
||||
SET(lmms_MOC ${lmms_INCLUDES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user