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

Use COMBINE_FILE_LISTS in cmakelists.txt #49

Open
MikeHopcroft opened this issue May 17, 2016 · 0 comments
Open

Use COMBINE_FILE_LISTS in cmakelists.txt #49

MikeHopcroft opened this issue May 17, 2016 · 0 comments
Labels

Comments

@MikeHopcroft
Copy link
Contributor

This strategy is used in BitFunnel. Just need to define COMBINE_FILE_LISTS() macro in the top level CMakeLists.txt and then use in the lower level CMakeLists.txt files to replace

if (NATIVEJIT_PLATFORM_WINDOWS)
set(CPPFILES ${CPPFILES} ${WINDOWS_CPPFILES})
set(PUBLIC_HFILES ${PUBLIC_HFILES} ${WINDOWS_PUBLIC_HFILES})
set(PRIVATE_HFILES ${PRIVATE_HFILES} ${WINDOWS_PRIVATE_HFILES})
else (NATIVEJIT_PLATFORM_WINDOWS)
set(CPPFILES ${CPPFILES} ${POSIX_CPPFILES})
set(PUBLIC_HFILES ${PUBLIC_HFILES} ${POSIX_PUBLIC_HFILES})
set(PRIVATE_HFILES ${PRIVATE_HFILES} ${POSIX_PRIVATE_HFILES})
endif (NATIVEJIT_PLATFORM_WINDOWS)

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

No branches or pull requests

2 participants