Skip to content

Separate build trees in the CMake system #51

Open

Description

@greenwald

Have separate build trees for the examples and the main code.

(References pull #49 )

Activity

  1. pdigiglio commented on Jun 15, 2016

    @pdigiglio
    Contributor

    I'd structure it as the following:

    $YAPDIR
    ├── src
    ├── examples
    │   ├── bat_gen
    │   └── programs
    └── test
    
    • The CMakeLists.txt in $YAPDIR has a add_subdirectory(src) instruction such that the all target builds libYAP.so;
    • test and examples have their own build systems which are then included in $YAPDIR via ExternalProject.

    Question: Should bat_gen and programs have their own build system or can I make a comprehensive one in examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions