Provide a pkg-config file for SimGrid
RENAME simgrid.jar)
endif()
+# pkg-config files
+configure_file("${CMAKE_HOME_DIRECTORY}/tools/pkg-config/simgrid.pc.in"
+ "${PROJECT_BINARY_DIR}/simgrid.pc" @ONLY)
+install(FILES "${PROJECT_BINARY_DIR}/simgrid.pc" DESTINATION lib/pkgconfig/)
+
# include files
foreach(file ${headers_to_install} ${generated_headers_to_install})
get_filename_component(location ${file} PATH)
--- /dev/null
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: SimGrid
+Description: Framework for the simulation of distributed applications (Clouds, HPC, Grids, IoT and others)
+Version: @libsimgrid_version@
+
+Libs: -L${libdir} -lsimgrid
+Cflags: -I${includedir}