FLTK logo

Re: [fltk/fltk] Provide easier instructions for modern CMake (#164)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Provide easier instructions for modern CMake (#164) Mohammed Alyousef Nov 23, 2020  
 

Thanks for the insights. I agree having an installed fltk will likely be better if one’s using fltk regularly for different applications.

Normally FetchContent_MakeAvailable would also call add_subdirectory(${fltk_SOURCE_DIR} ${fltk_BUNARY_DIR}) according to the cmake docs. And it does work correctly except for the VS generator.

I actually haven’t tried FetchContent with a local file:/// url. it could work so it’s worth investigating, that would be cool. However a fetched module is for a single CMakeLists BINARY_DIR, so to reuse it one can use multiple add_executable calls, or would have to separate into different projects.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.