Testing modules
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user