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

Automatically add dependency during the build #170

Open
xxks-kkk opened this issue Oct 29, 2019 · 0 comments
Open

Automatically add dependency during the build #170

xxks-kkk opened this issue Oct 29, 2019 · 0 comments
Labels
infrastructure Code infrastucture should be reusued in the future implementation (e.g., better test case org)
Milestone

Comments

@xxks-kkk
Copy link
Owner

Consider how we build LC138 binary in C++

add_executable(138
  leetcode/138-CopyListWithRandomPointer/copyListWithRandomPointer.cc
  include/cppinclude/linkedList_rand.cc
  include/cppinclude/cpputility.h
  include/jsoncpp/jsoncpp.cpp)

Is there a way to include jsoncpp.cpp automatically whenever we include the .cc that has dependency on it (e.g., linkedList_rand.cc has dependency on jsoncpp.cpp. Can we include jsoncpp.cpp whenever we use linkedList_rand.cc automatically?)

@xxks-kkk xxks-kkk added the infrastructure Code infrastucture should be reusued in the future implementation (e.g., better test case org) label Oct 29, 2019
@xxks-kkk xxks-kkk added this to the 1.0 milestone Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Code infrastucture should be reusued in the future implementation (e.g., better test case org)
Projects
None yet
Development

No branches or pull requests

1 participant