Thu, 10 Apr 2014 13:58:06 +0300
- renamed some cmake identifiers
CMakeLists.txt | file | annotate | diff | comparison | revisions |
--- a/CMakeLists.txt Thu Apr 10 13:56:41 2014 +0300 +++ b/CMakeLists.txt Thu Apr 10 13:58:06 2014 +0300 @@ -18,7 +18,7 @@ include_directories (${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}) -set (LDForgeSources +set (LDFORGE_SOURCES src/actions.cc src/actionsEdit.cc src/addObjectDialog.cc @@ -46,7 +46,7 @@ src/version.cc ) -set (LDForgeHeaders +set (LDFORGE_HEADERS src/macros.h src/crashCatcher.h src/colors.h @@ -75,7 +75,7 @@ src/format.h ) -set (LDForgeForms +set (LDFORGE_FORMS ui/about.ui ui/addhistoryline.ui ui/bombbox.ui @@ -101,7 +101,7 @@ ui/ytruder.ui ) -set (LDForgeResources ldforge.qrc) +set (LDFORGE_RESOURCES ldforge.qrc) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGLU") @@ -121,15 +121,15 @@ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") endif() -qt4_wrap_cpp (LDForgeMOC ${LDForgeHeaders}) -qt4_wrap_ui (LDForgeFormsHeaders ${LDForgeForms}) -qt4_add_resources (LDForgeResourcesRCC ${LDForgeResources}) +qt4_wrap_cpp (LDFORGE_MOC ${LDFORGE_HEADERS}) +qt4_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) +qt4_add_resources (LDFORGE_RCC ${LDFORGE_RESOURCES}) add_executable (ldforge - ${LDForgeSources} - ${LDForgeResourcesRCC} - ${LDForgeFormsHeaders} - ${LDForgeMOC} + ${LDFORGE_SOURCES} + ${LDFORGE_RCC} + ${LDFORGE_FORMS_HEADERS} + ${LDFORGE_MOC} ) target_link_libraries (ldforge