Hi,

I tried searching for an example project (perhaps already on github) to
follow but my Google skills have failed me.

There are some projects that are already compiled and I would like to fork
those projects and write a CMakeLists.txt file for them such that they can
be added by other CMake projects easily.

For instance, for the library: https://github.com/ygpark/Everything-SDK,
how would I write a CMakeLists.txt file such that:

=> the project has a CMake library named "Everything" (which is normally
the result of add_library)
=> it's headers, lib and dll files specified in the target "Everything"
properly
=> install() command to install the above for the target "Everything"
=> CMake generates the relevant "-config.cmake" file so that the library
can be easily found using the find_library() command

If an example already exists using modern CMake techniques, a link to it
would be wonderful.

Thanks,
Saad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to