mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Swig auto generated .cxx file has a lot of shadowed variables, so this option cannot be used to compil all files.
13 lines
306 B
CMake
13 lines
306 B
CMake
# .cpp files are compiled with extra ${WSHADOW_FLAGS}
|
|
if( COMPILER_SUPPORTS_WSHADOW )
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WSHADOW_FLAGS}")
|
|
endif()
|
|
|
|
include_directories(
|
|
${GLM_INCLUDE_DIR}
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/3d-viewer
|
|
)
|
|
|
|
add_subdirectory( 3d )
|