Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.