Class: Ritsu::SrcFiles::TargetCmakeLists
- Inherits:
-
TemplatedSrcFile
- Object
- Ritsu::SrcFile
- TemplatedSrcFile
- Ritsu::SrcFiles::TargetCmakeLists
- Defined in:
- lib/ritsu/src_files/target_cmake_lists.rb,
lib/ritsu/ext/qt/src_files/target_cmake_lists.rb,
lib/ritsu/ext/cuda/src_files/target_cmake_lists.rb
Direct Known Subclasses
ExecutableCmakeLists, SharedLibraryCmakeLists, StaticLibraryCmakeLists
Defined Under Namespace
Classes: CudaCompileTemplate, CudaIncludeDirectoriesTemplate, CustomCommandsTemplate, DependenciesTemplate, InstallTemplate, LibrariesTemplate, QtMocTemplate, QtUiTemplate, SourceFilesTemplate, Template
Instance Attribute Summary
Attributes inherited from TemplatedSrcFile
#block_end_prefix, #block_start_prefix, #template
Attributes inherited from Ritsu::SrcFile
Instance Method Summary collapse
- #include_in_source_files? ⇒ Boolean
-
#initialize(target) ⇒ TargetCmakeLists
constructor
A new instance of TargetCmakeLists.
Methods inherited from TemplatedSrcFile
Methods inherited from Ritsu::SrcFile
#abs_path, #base_name, #create, find_by_src_path, is_valid_src_path?, #project, #remove, #update, #update_content, validate_instance
Methods included from Utility
Methods included from Utility::InstanceSet
included, #initialize_instance
Constructor Details
#initialize(target) ⇒ TargetCmakeLists
Returns a new instance of TargetCmakeLists.
179 180 181 182 183 |
# File 'lib/ritsu/src_files/target_cmake_lists.rb', line 179 def initialize(target) super("#{target.name}/CMakeLists.txt", target, :block_start_prefix=>'##<<', :block_end_prefix=>'##>>') end |
Instance Method Details
#include_in_source_files? ⇒ Boolean
185 186 187 |
# File 'lib/ritsu/src_files/target_cmake_lists.rb', line 185 def include_in_source_files? false end |