Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target Improvements #116

Open
25 of 29 tasks
coder137 opened this issue Sep 30, 2021 · 11 comments
Open
25 of 29 tasks

Target Improvements #116

coder137 opened this issue Sep 30, 2021 · 11 comments

Comments

@coder137
Copy link
Owner

coder137 commented Sep 30, 2021

  • Target states (Build, BuildComplete)
    • Build == TRUE when first build or rebuilt
    • Lock == TRUE after Build is called
  • Add LOCK/UNLOCK of usage of functions after Target::Build
    • Some APIs can only be used after build function is called
    • Some APIs should not be used after build function is called
  • Check if dependency on Generator is required (revert back to old implementation if required)
  • Target Config for defaults
  • Add language detection (.asm, .c, .cpp) flags (has_asm, has_c, has_cpp) for compiler specific commands
  • Friend classes for private functions
    • CompilePCH
    • CompileObject
    • LinkTarget
  • Basic Copy API instead of custom CopyTarget class
    • Copy by Target move
    • Copy by Target const ref
  • Target root and build dir customization
  • CRTP to add API and Features (https://www.fluentcpp.com/2017/05/16/what-the-crtp-brings-to-code/)
    • Copy API
    • Insert API
    • Source API
    • Header and Include Dir API
    • PCH API
    • Lib Dep and Lib Dir API
    • Flags API
    • Rebuild Deps API
    • Getters and Target Info API
  • Append APIs (Similar to Add APIs)
  • Target strings
    • Refactor magic strings to constexpr const char * const
  • Callbacks for Build customizability
  • Custom compile and link arguments with user defined variables similar to Command::AddDefaultArguments
@coder137
Copy link
Owner Author

coder137 commented Oct 1, 2021

#117 [Revert] Target with Generator

@coder137
Copy link
Owner Author

coder137 commented Oct 4, 2021

#118 Target lock unlock

@coder137
Copy link
Owner Author

#121 Target Config

@coder137
Copy link
Owner Author

#123 Target Source State (detect ASM, C and CPP files)

@coder137
Copy link
Owner Author

coder137 commented Oct 21, 2021

#128 PCH friend module for private functions
#129 Object friend module for private functions
#130 Target link friend module for private functions

@coder137
Copy link
Owner Author

coder137 commented Nov 2, 2021

#134 Target Copy

@coder137
Copy link
Owner Author

coder137 commented Nov 9, 2021

#141 Target root and build dir customization

@coder137
Copy link
Owner Author

#143 Target Copy by move

@coder137
Copy link
Owner Author

coder137 commented Nov 17, 2021

#148 Target Copy API
#149 Target Source API
#150 Target Include & Header API
#151 Target Lib Dep and Lib Dir API
#152 Target PCH API
#153 Target Flags API
#154 Target Deps API

@coder137
Copy link
Owner Author

#155 Target Info and Getters

@coder137
Copy link
Owner Author

#160 Target Insert API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant