Class: Ritsu::Targets::SharedLibrary
- Inherits:
-
Library
- Object
- Ritsu::Target
- Library
- Ritsu::Targets::SharedLibrary
- Defined in:
- lib/ritsu/targets/shared_library.rb
Instance Attribute Summary collapse
-
#cmake_lists ⇒ Object
readonly
Returns the value of attribute cmake_lists.
Attributes inherited from Library
#cmake_depend_script, #cuda_depend_script
Attributes inherited from Ritsu::Target
#custom_commands, #dependency_libraries, #name, #project, #src_files, #topological_order
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ SharedLibrary
constructor
A new instance of SharedLibrary.
- #shared_library? ⇒ Boolean
- #static_library? ⇒ Boolean
Methods inherited from Library
#can_be_depended_on?, #executable?, #initialize_library_before_cuda, #library?
Methods included from Utility::Accessors
Methods inherited from Ritsu::Target
#abs_dir, #add_dependency_target, #add_dependency_targets, #add_external_libraries, #add_external_library, #compute_src_path, #cuda_target?, #dependency_targets_sorted_by_topological_order, find_by_name, #include_file, #initialize_target_before_cuda, #install?, #setup_install, #src_dir, #update, validate_instance
Methods included from SrcFiles::AddQtUnit
Methods included from SrcFiles::AddQtHeaderFile
#add_qt_header_file, #add_qt_header_files
Methods included from SrcFiles::AddCppFile
Methods included from SrcFiles::AddVertFile
#add_vert_file, #add_vert_files
Methods included from SrcFiles::AddFragFile
#add_frag_file, #add_frag_files
Methods included from SrcFiles::AddCuFile
Methods included from SrcFiles::AddUiFile
Methods included from SrcFiles::AddHeaderFile
#add_header_file, #add_header_files
Methods included from SrcFiles::AddUnit
Methods included from Utility::Strings
convert_whitespaces_to_spaces, first, is_c_name?, is_underscore_case?, leading_spaces, leading_whitespaces
Methods included from Utility::InstanceDependencies
Methods included from Utility::InstanceSet
included, #initialize_instance
Constructor Details
#initialize(name, options = {}) ⇒ SharedLibrary
Returns a new instance of SharedLibrary.
11 12 13 14 |
# File 'lib/ritsu/targets/shared_library.rb', line 11 def initialize(name, ={}) super(name, ) initialize_cmake_lists end |
Instance Attribute Details
#cmake_lists ⇒ Object (readonly)
Returns the value of attribute cmake_lists.
9 10 11 |
# File 'lib/ritsu/targets/shared_library.rb', line 9 def cmake_lists @cmake_lists end |
Instance Method Details
#shared_library? ⇒ Boolean
22 23 24 |
# File 'lib/ritsu/targets/shared_library.rb', line 22 def shared_library? true end |
#static_library? ⇒ Boolean
26 27 28 |
# File 'lib/ritsu/targets/shared_library.rb', line 26 def static_library? false end |