10/20/2023 0 Comments Vtk useful cmake variablesPRIVATE_DEPENDS: A list of modules which are required by this module, but not by those using this module.DEPENDS: A list of modules which are required by this module and modules using this module.If the expression is false, the module is completely ignored. CONDITION: Arguments to CMake's if command which may be used to hide the module for certain platforms or other reasons.This allows for enabling a set of modules with a single build option. GROUPS: Modules may belong to "groups" which is exposed as a build option.IMPLEMENTABLE: If present, the module contains logic which supports the autoinit functionality.KIT: The name of the kit the module belongs to (see Kits files for more information).DESCRIPTION: (Recommended) Short text describing what the module is for.For example, a NS::Foo module will have a default LIBRARY_NAME of Foo. It defaults to the module name, but any namespaces are removed. LIBRARY_NAME: The base name of the library file. ![]() NAME: (Required) The name of the module.More.Īll values are optional unless otherwise noted. More.Įxport find_package calls for dependencies. More.Īdd compile definitions to a module. More.Īdd include directories to a module. More.įind vtk.module files in a set of directories. If you need the internal path at 31 # this point it is safer you ask directly where the *source* tree is 32 # and dig from there.Find vtk.kit files in a set of directories. 28 # => this ended up being only a Win32 variable, and there is a lot of 29 # confusion regarding the location of this file in an installed Tcl/Tk 30 # tree anyway (see 8.5 for example). 25 # Let's leave that choice to the user by allowing him to assign 26 # TCL_LIBRARY to any Tcl library, debug or not. 22 # Even when Tcl/Tk is built from source, several flavors of debug libs 23 # are created and there is no real reason to pick a single one 24 # specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx). 21 # => these libs are not packaged by default with Tcl/Tk distributions. 20 # - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed. Changes compared to CMake 2.4 are: 18 # - The stub libraries are now found in FindTclStub.cmake 19 # => they were only useful for people writing Tcl/Tk extensions. ![]() This code sets the following variables: 5 # TCL_FOUND = Tcl was found 6 # TK_FOUND = Tk was found 7 # TCLTK_FOUND = Tcl and Tk were found 8 # TCL_LIBRARY = path to Tcl library (tcl tcl80) 9 # TCL_INCLUDE_PATH = path to where tcl.h can be found 10 # TCL_TCLSH = path to tclsh binary (tcl tcl80) 11 # TK_LIBRARY = path to Tk library (tk tk80 etc) 12 # TK_INCLUDE_PATH = path to where tk.h can be found 13 # TK_WISH = full path to the wish executable 14 # 15 # In an effort to remove some clutter and clear up some issues for people 16 # who are not necessarily Tcl/Tk gurus/developers, some variables were 17 # moved or removed. It also determines what the name of 4 # the library is. 2 # This module finds if Tcl is installed and determines where the 3 # include files and libraries are. As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers.Īlternatively you can here view or download the uninterpreted source code file.ġ # - Find Tcl includes and libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |