Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2009, 9:48:11 PM (16 years ago)
Author:
rgrieder
Message:

Removed three calls to GET_ALL_HEADER_FILES which in turn calls FILE(GLOB_RECURSE), which is quite slow.

Location:
code/branches/buildsystem2/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/audio/CMakeLists.txt

    r2626 r2627  
    1818 #
    1919
    20 SET_SOURCE_FILES(AUDIO_SRC_FILES
     20SET_SOURCE_FILES(AUDIO_FILES
     21  AudioBuffer.h
     22  AudioIncludes.h
     23  AudioManager.h
     24  AudioPrereqs.h
     25  AudioSource.h
     26  AudioStream.h
     27
    2128  AudioBuffer.cc
    2229  AudioManager.cc
     
    2431  AudioStream.cc
    2532)
    26 GET_ALL_HEADER_FILES(AUDIO_HDR_FILES)
    27 SET(AUDIO_FILES ${AUDIO_SRC_FILES} ${AUDIO_HDR_FILES})
     33#GET_ALL_HEADER_FILES(AUDIO_HDR_FILES)
     34#SET(AUDIO_FILES ${AUDIO_SRC_FILES} ${AUDIO_HDR_FILES})
    2835GENERATE_SOURCE_GROUPS(${AUDIO_FILES})
    2936
  • code/branches/buildsystem2/src/ceguilua/CMakeLists.txt

    r2626 r2627  
    4141    BREAK() # _version > CEGUI_VERSION
    4242  ENDIF()
    43   ADD_SUBDIRECTORY(ceguilua-${_version})
     43 
     44  ADD_SUBDIRECTORY(ceguilua-${_version}) # Sets parent scope variable
     45  FOREACH(_file ${_package_files})
     46    CONFIGURE_FILE(ceguilua-${_version}/package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
     47  ENDFOREACH(_file)
    4448ENDFOREACH(_version)
    4549
  • code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/CMakeLists.txt

    r2626 r2627  
    1  #
    2  #             ORXONOX - the hottest 3D action shooter ever to exist
    3  #                             > www.orxonox.net <
    4  #
    5  #        This program is free software; you can redistribute it and/or
    6  #         modify it under the terms of the GNU General Public License
    7  #        as published by the Free Software Foundation; either version 2
    8  #            of the License, or (at your option) any later version.
    9  #
    10  #       This program is distributed in the hope that it will be useful,
    11  #        but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  #                 GNU General Public License for more details.
    14  #
    15  #   You should have received a copy of the GNU General Public License along
    16  #      with this program; if not, write to the Free Software Foundation,
    17  #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    18  #
     1SET(_package_files
     2  exceptions.lua Basic.pkg FontManager.pkg InputEvent.pkg OutStream.pkg
     3  System.pkg WindowManager.pkg CEGUI.pkg HelperFunctions.pkg Iterators.pkg
     4  PropertyHelper.pkg Texture.pkg CoordConverter.pkg Image.pkg Key.pkg
     5  Renderer.pkg UnifiedCoordSystem.pkg EventSet.pkg Imageset.pkg Logger.pkg
     6  Scheme.pkg Window.pkg Font.pkg ImagesetManager.pkg MouseCursor.pkg
     7  SchemeManager.pkg WindowFactoryManager.pkg
    198
    20 # Copy all files from the package folder to the binary directory
     9  elements/ButtonBase.pkg elements/Checkbox.pkg elements/ComboDropList.pkg
     10  elements/Combobox.pkg elements/DragContainer.pkg elements/Editbox.pkg
     11  elements/FrameWindow.pkg elements/GUISheet.pkg elements/ItemEntry.pkg
     12  elements/ItemListBase.pkg elements/ItemListbox.pkg elements/ListHeader.pkg
     13  elements/ListHeaderSegment.pkg elements/Listbox.pkg elements/ListboxItem.pkg
     14  elements/ListboxTextItem.pkg elements/MenuBase.pkg elements/MenuItem.pkg
     15  elements/Menubar.pkg elements/MultiColumnList.pkg
     16  elements/MultiLineEditbox.pkg elements/PopupMenu.pkg elements/ProgressBar.pkg
     17  elements/PushButton.pkg elements/RadioButton.pkg elements/ScrollablePane.pkg
     18  elements/Scrollbar.pkg elements/ScrolledContainer.pkg
     19  elements/ScrolledItemListBase.pkg elements/Slider.pkg elements/Spinner.pkg
     20  elements/TabButton.pkg elements/TabControl.pkg elements/Thumb.pkg
     21  elements/Titlebar.pkg elements/Tooltip.pkg
     22 
     23  falagard/Dimension.pkg falagard/Enums.pkg falagard/FalagardComponentBase.pkg
     24  falagard/FrameComponent.pkg falagard/ImageryComponent.pkg
     25  falagard/ImagerySection.pkg falagard/LayerSpecification.pkg
     26  falagard/NamedArea.pkg falagard/PropertyDefinition.pkg
     27  falagard/PropertyDefinitionBase.pkg falagard/PropertyInitialiser.pkg
     28  falagard/PropertyLinkDefinition.pkg falagard/SectionSpecification.pkg
     29  falagard/StateImagery.pkg falagard/TextComponent.pkg
     30  falagard/WidgetComponent.pkg falagard/WidgetLookFeel.pkg
     31  falagard/WidgetLookManager.pkg
    2132
    22 # Only do this once since GLOB_RECURSE is quite slow
    23 # No, don't. When switch back from 0.6 to 0.5 and keeping the binary dir
    24 # This will cause problems.
    25 #IF(EXISTS ${CEGUILUA_BINARY_DIR}/exceptions.lua)
    26 #  RETURN()
    27 #ENDIF(EXISTS ${CEGUILUA_BINARY_DIR}/exceptions.lua)
    28 
    29 FILE(GLOB_RECURSE _package_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/package "*.pkg")
    30 FOREACH(_file ${_package_files} "exceptions.lua")
    31   CONFIGURE_FILE(package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
    32 ENDFOREACH(_file)
     33  PARENT_SCOPE
     34)
  • code/branches/buildsystem2/src/ceguilua/ceguilua-0.6.0/CMakeLists.txt

    r2626 r2627  
    1  #
    2  #             ORXONOX - the hottest 3D action shooter ever to exist
    3  #                             > www.orxonox.net <
    4  #
    5  #        This program is free software; you can redistribute it and/or
    6  #         modify it under the terms of the GNU General Public License
    7  #        as published by the Free Software Foundation; either version 2
    8  #            of the License, or (at your option) any later version.
    9  #
    10  #       This program is distributed in the hope that it will be useful,
    11  #        but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  #                 GNU General Public License for more details.
    14  #
    15  #   You should have received a copy of the GNU General Public License along
    16  #      with this program; if not, write to the Free Software Foundation,
    17  #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    18  #
    19 
    20 # Copy all files from the package folder to the binary directory
    21 
    221SET(_package_files
    232  CEGUI.pkg
     
    298  elements/Tree.pkg
    309  elements/TreeItem.pkg
     10
     11  PARENT_SCOPE
    3112)
    32 
    33 FOREACH(_file ${_package_files})
    34   CONFIGURE_FILE(package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
    35 ENDFOREACH(_file)
  • code/branches/buildsystem2/src/ceguilua/ceguilua-0.6.1/CMakeLists.txt

    r2626 r2627  
    1  #
    2  #             ORXONOX - the hottest 3D action shooter ever to exist
    3  #                             > www.orxonox.net <
    4  #
    5  #        This program is free software; you can redistribute it and/or
    6  #         modify it under the terms of the GNU General Public License
    7  #        as published by the Free Software Foundation; either version 2
    8  #            of the License, or (at your option) any later version.
    9  #
    10  #       This program is distributed in the hope that it will be useful,
    11  #        but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  #                 GNU General Public License for more details.
    14  #
    15  #   You should have received a copy of the GNU General Public License along
    16  #      with this program; if not, write to the Free Software Foundation,
    17  #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    18  #
    19 
    20 # Copy all files from the package folder to the binary directory
    21 
    221SET(_package_files
    232  Window.pkg
     3
     4  PARENT_SCOPE
    245)
    25 
    26 FOREACH(_file ${_package_files})
    27   CONFIGURE_FILE(package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
    28 ENDFOREACH(_file)
  • code/branches/buildsystem2/src/ceguilua/ceguilua-0.6.2/CMakeLists.txt

    r2626 r2627  
    1  #
    2  #             ORXONOX - the hottest 3D action shooter ever to exist
    3  #                             > www.orxonox.net <
    4  #
    5  #        This program is free software; you can redistribute it and/or
    6  #         modify it under the terms of the GNU General Public License
    7  #        as published by the Free Software Foundation; either version 2
    8  #            of the License, or (at your option) any later version.
    9  #
    10  #       This program is distributed in the hope that it will be useful,
    11  #        but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  #                 GNU General Public License for more details.
    14  #
    15  #   You should have received a copy of the GNU General Public License along
    16  #      with this program; if not, write to the Free Software Foundation,
    17  #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    18  #
    19 
    20 # Copy all files from the package folder to the binary directory
    21 
    221SET(_package_files
    232  EventSet.pkg
     
    265  Window.pkg
    276  WindowManager.pkg
     7
     8  PARENT_SCOPE
    289)
    29 
    30 FOREACH(_file ${_package_files})
    31   CONFIGURE_FILE(package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
    32 ENDFOREACH(_file)
  • code/branches/buildsystem2/src/util/CMakeLists.txt

    r2626 r2627  
    1818 #
    1919
    20 SET_SOURCE_FILES(UTIL_SRC_FILES
     20SET_SOURCE_FILES(UTIL_FILES
     21  CRC32.h
     22  Clipboard.h
     23  Convert.h
     24  Debug.h
     25  Exception.h
     26  ExprParser.h
     27  Integers.h
     28  Math.h
     29  MathConvert.h
     30  MultiType.h
     31  MultiTypeValue.h
     32  OutputBuffer.h
     33  OutputHandler.h
     34  SignalHandler.h
     35  Sleep.h
     36  String.h
     37  SubString.h
     38  UtilPrereqs.h
     39  mbool.h
     40
    2141  Clipboard.cc
    2242  CRC32.cc
     
    3151  SubString.cc
    3252)
    33 GET_ALL_HEADER_FILES(UTIL_HDR_FILES)
    34 SET(UTIL_FILES ${UTIL_SRC_FILES} ${UTIL_HDR_FILES})
     53#GET_ALL_HEADER_FILES(UTIL_HDR_FILES)
     54#SET(UTIL_FILES ${UTIL_SRC_FILES} ${UTIL_HDR_FILES})
    3555GENERATE_SOURCE_GROUPS(${UTIL_FILES})
    3656# Also add OrxonoxConfig.h to have it least somewhere in the IDE
Note: See TracChangeset for help on using the changeset viewer.