mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cmake: more consitent multi-line calls
- don't put anything on the first line after the opening "(" - fix indentation of the closing "(" Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8fec4ab5e7
commit
82ff9fc9c8
1 changed files with 15 additions and 12 deletions
|
@ -329,7 +329,8 @@ endif()
|
||||||
# create the executables
|
# create the executables
|
||||||
|
|
||||||
add_executable(${SUBSURFACE_TARGET} ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES})
|
add_executable(${SUBSURFACE_TARGET} ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES})
|
||||||
target_link_libraries(${SUBSURFACE_TARGET}
|
target_link_libraries(
|
||||||
|
${SUBSURFACE_TARGET}
|
||||||
subsurface_generated_ui
|
subsurface_generated_ui
|
||||||
subsurface_interface
|
subsurface_interface
|
||||||
subsurface_profile
|
subsurface_profile
|
||||||
|
@ -508,12 +509,14 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
# create the subsurface-x.y.z.exe installer - this needs to depend
|
# create the subsurface-x.y.z.exe installer - this needs to depend
|
||||||
# on the install target but cmake doesn't allow that, so we depend
|
# on the install target but cmake doesn't allow that, so we depend
|
||||||
# on the fake target instead
|
# on the fake target instead
|
||||||
add_custom_target(fake_install
|
add_custom_target(
|
||||||
|
fake_install
|
||||||
COMMAND "${CMAKE_COMMAND}" --build . --target install
|
COMMAND "${CMAKE_COMMAND}" --build . --target install
|
||||||
DEPENDS ${SUBSURFACE_TARGET}
|
DEPENDS ${SUBSURFACE_TARGET}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(installer
|
add_custom_target(
|
||||||
|
installer
|
||||||
COMMAND ${MAKENSIS} ${WINDOWSSTAGING}/subsurface.nsi
|
COMMAND ${MAKENSIS} ${WINDOWSSTAGING}/subsurface.nsi
|
||||||
DEPENDS fake_install
|
DEPENDS fake_install
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue