mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
16 lines
390 B
CMake
16 lines
390 B
CMake
set(ASTYLE_SRCS
|
|
astyle_main.cpp
|
|
ASBeautifier.cpp
|
|
ASEnhancer.cpp
|
|
ASFormatter.cpp
|
|
ASLocalizer.cpp
|
|
ASResource.cpp
|
|
)
|
|
|
|
# No warnings for astyle build
|
|
if(NOT MSVC)
|
|
set_source_files_properties(${ASTYLE_SRCS} PROPERTIES COMPILE_FLAGS -w)
|
|
endif()
|
|
add_executable(qgisstyle ${ASTYLE_SRCS})
|
|
set_target_properties(qgisstyle PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/scripts)
|