mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Lint.
Took 2 minutes
This commit is contained in:
parent
31e57246e6
commit
4f1f59e15c
2 changed files with 5 additions and 10 deletions
|
|
@ -274,15 +274,13 @@ set(cockatrice_RESOURCES cockatrice.qrc)
|
||||||
|
|
||||||
if(UPDATE_TRANSLATIONS)
|
if(UPDATE_TRANSLATIONS)
|
||||||
# Cockatrice main sources
|
# Cockatrice main sources
|
||||||
file(GLOB_RECURSE translate_cockatrice_SRCS
|
file(GLOB_RECURSE translate_cockatrice_SRCS ${CMAKE_SOURCE_DIR}/cockatrice/src/*.cpp
|
||||||
${CMAKE_SOURCE_DIR}/cockatrice/src/*.cpp
|
${CMAKE_SOURCE_DIR}/cockatrice/src/*.h
|
||||||
${CMAKE_SOURCE_DIR}/cockatrice/src/*.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# All libcockatrice_* libraries (recursively)
|
# All libcockatrice_* libraries (recursively)
|
||||||
file(GLOB_RECURSE translate_lib_SRCS
|
file(GLOB_RECURSE translate_lib_SRCS ${CMAKE_SOURCE_DIR}/libcockatrice_*/**/*.cpp
|
||||||
${CMAKE_SOURCE_DIR}/libcockatrice_*/**/*.cpp
|
${CMAKE_SOURCE_DIR}/libcockatrice_*/**/*.h
|
||||||
${CMAKE_SOURCE_DIR}/libcockatrice_*/**/*.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Combine all sources for translation
|
# Combine all sources for translation
|
||||||
|
|
@ -293,7 +291,6 @@ else()
|
||||||
file(GLOB cockatrice_TS "${CMAKE_CURRENT_SOURCE_DIR}/translations/*.ts")
|
file(GLOB cockatrice_TS "${CMAKE_CURRENT_SOURCE_DIR}/translations/*.ts")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(cockatrice_SOURCES ${cockatrice_SOURCES} cockatrice.rc)
|
set(cockatrice_SOURCES ${cockatrice_SOURCES} cockatrice.rc)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
|
||||||
|
|
@ -68,9 +68,7 @@ endif()
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Include directories
|
# Include directories
|
||||||
# ------------------------
|
# ------------------------
|
||||||
include_directories(
|
include_directories(../cockatrice/src)
|
||||||
../cockatrice/src
|
|
||||||
)
|
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Optional libraries
|
# Optional libraries
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue