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

Build directory collision in oryol-test-app when invoking cmake manually. #134

Open
floooh opened this issue Oct 26, 2016 · 0 comments
Open
Labels

Comments

@floooh
Copy link
Owner

floooh commented Oct 26, 2016

To reproduce:

Generate out-of-source cmake build files by simply running cmake ../oryol-test-app in a separate build directory (after running 'fips gen' once in oryol-test-app).

The following cmake errors occur, it seems to be related to the module import mechanism used in oryol-test-app (for instance, Oryol itself builds fine this way).

CMake Error at .fips-imports.cmake:122 (add_subdirectory):
  The binary directory

    /Users/floh/projects/build/oryol_Core

  is already used to build a source directory.  It cannot be used to build
  source directory

    /Users/floh/projects/oryol/code/Modules/Core

  Specify a unique binary directory name.
Call Stack (most recent call first):
  CMakeLists.txt:16 (fips_import_oryol_Core)


CMake Error at .fips-imports.cmake:127 (add_subdirectory):
  The binary directory

    /Users/floh/projects/build/oryol_Gfx

  is already used to build a source directory.  It cannot be used to build
  source directory

    /Users/floh/projects/oryol/code/Modules/Gfx

  Specify a unique binary directory name.
Call Stack (most recent call first):
  CMakeLists.txt:17 (fips_import_oryol_Gfx)

Also see floooh/oryol-test-app#1

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

1 participant