PROJECT( mexplus )

# Very simple CMakeLists, just include its own directory (header-only)
# INCLUDE_DIRECTORIES(".")

# TODO: Visualize in IDE the files in this directory

PROJECT( mexplus )

# Code below is just for accessibility issues in IDE editor
# List all files (headers) contained by mexplus library
FILE(GLOB_RECURSE all_mexplus_files RELATIVE "${CMAKE_SOURCE_DIR}/otherlibs/mexplus" *.h *.hpp)
# Visualize the files of this directory in IDE creating an custom empty target
add_custom_target(mexplus DEPENDS ${all_mexplus_files} SOURCES ${all_mexplus_files})

Use custom target to add mexplus files to IDE editor
Use custom target to add mexplus files to IDE editor