CMakeLists.txt 825 Bytes
Newer Older
1
if(MSVC OR (WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
2 3 4
  # avoid "cannot open file 'LIBC.lib'" error
  set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:LIBC.LIB")
  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:LIBC.LIB")
5
endif()
6

7
# add all the include paths to kritaui that we use, for now.
8

9
include_directories(SYSTEM
10 11 12
    ${EIGEN3_INCLUDE_DIR}
    ${Vc_INCLUDE_DIR}
)
13

14 15 16 17 18
add_subdirectory( assistants )
add_subdirectory( color )
add_subdirectory( dockers )
add_subdirectory( extensions )
add_subdirectory( filters )
19
add_subdirectory( flake )
20 21 22 23
add_subdirectory( generators )
add_subdirectory( impex )
add_subdirectory( paintops )
add_subdirectory( tools )
24
add_subdirectory( qt )
25 26 27 28

if (HAVE_PYQT5 AND HAVE_SIP AND HAVE_PYTHONLIBS)
    add_subdirectory( python )
endif()