SSoelvsten / cal

University of California BDD Package
https://ssoelvsten.github.io/cal/
Other
2 stars 2 forks source link

Derive page size within CMake #4

Closed SSoelvsten closed 2 years ago

SSoelvsten commented 2 years ago

The original build script was able to derive the page size by running a small program. We should find a way to do the very same, such that the user does not need to change it manually.

SSoelvsten commented 2 years ago

The Wikipedia page on the subject mentions the simple bash command

getconf PAGESIZE

which should be easy enough to use with CMAKE