Skip to content

Conversation

@jjokella
Copy link
Collaborator

@jjokella jjokella commented Nov 29, 2024

Follow the example of eCLM and add USE_PDAF in CMake-scripts (if (USE_PDAF)) and source code (#ifdef USE_PDAF) in order to make PDAF-related code immediately visible.

Currently results in errors.

Every pre-patched change inside ParFlow that relates to PDAF is put
under (1) if-condition `USE_PDAF` for CMake-scripts or (2) `#ifdef`
preprocessor variable condition for source code.
- to `amps`, `pfsimulator`, where it is used in code
```
CMake Error at pfsimulator/amps/CMakeLists.txt:9 (target_compile_definitions):
  Cannot specify compile definitions for target "amps" which is not built by
  this project.
```
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

Successfully merging this pull request may close these issues.

1 participant