diff --git a/modules/helpers.cmake b/modules/helpers.cmake index e017e7e..081b78e 100644 --- a/modules/helpers.cmake +++ b/modules/helpers.cmake @@ -19,9 +19,6 @@ function(AddFGLExecutable NAME SRC_SOURCES_LOCATION) file(GLOB_RECURSE M_SOURCES CONFIGURE_DEPENDS ${SRC_SOURCES_LOCATION}/**.cppm) - # add_library(${NAME}_MODULES) - # target_sources(${NAME}_MODULES PUBLIC FILE_SET CXX_MODULES FILES ${M_SOURCES}) - file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS ${SRC_SOURCES_LOCATION}/**.cpp ${SRC_SOURCES_LOCATION}/**.hpp @@ -39,13 +36,6 @@ function(AddFGLExecutable NAME SRC_SOURCES_LOCATION) SetFGLFlags(${NAME}) endfunction() -function(LinkLibs NAME ACCESS LIB) - # if (TARGET ${NAME}_MODULES) - # target_link_libraries(${NAME}_MODULES ${ACCESS} ${LIB}) - # endif () - target_link_libraries(${NAME} ${ACCESS} ${LIB}) -endfunction() - function(AddFGLLibrary NAME MODE SRC_SOURCES_LOCATION INCLUDE_SOURCES_LOCATION) file(GLOB_RECURSE CPP_SOURCES CONFIGURE_DEPENDS ${SRC_SOURCES_LOCATION}/**.cpp) file(GLOB_RECURSE HPP_SOURCES CONFIGURE_DEPENDS ${SRC_SOURCES_LOCATION}/**.hpp)