From 16c124d34e43282da6c552739211f8d8aca04791 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 15 Apr 2013 00:59:58 -0500 Subject: Rewrote modules/CMakeLists.txt and do not build the 'extras' modules, if users want them built they should copy or symlink them out of extras --- src/tools/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/tools') diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 88e03f615..8d66e577f 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -9,11 +9,8 @@ set_source_files_properties(${TOOLS_SRCS} PROPERTIES LANGUAGE CXX COMPILE_FLAGS foreach(SRC ${TOOLS_SRCS}) # Convert the source file extension to have no extension string(REGEX REPLACE "\\.cpp$" "" EXE ${SRC}) - # Create skip variable - set(SKIP) - set(MODULE FALSE) # Calculate the header file dependencies for the given source file - calculate_depends(${SRC} SKIP MODULE) + calculate_depends(${SRC}) # Only continue if this file isn't skipped if(NOT SKIP) # Generate the executable and set its linker flags, also set it to depend on the main Anope executable to be built beforehand -- cgit