TableForMTAndAG/MTCodes/CMakeLists.txt
Lukas Plevac b7f83bfed2 Init
2024-11-16 21:06:27 +01:00

12 lines
327 B
CMake

file(GLOB FILENAMES *.cpp)
foreach(filename ${FILENAMES})
get_filename_component(basename ${filename} NAME_WE)
add_executable(${basename} ${filename})
target_link_libraries(${basename} PUBLIC mockturtle)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${basename}.cmake")
include(${basename}.cmake)
endif()
endforeach()