2023-02-12 17:50:28 +03:30
|
|
|
#!/bin/Shell
|
2021-08-12 19:55:17 +00:00
|
|
|
|
|
|
|
echo > $2/CMakeLists.txt <<-EOF
|
|
|
|
# NOTE! Make sure to edit this file and remove the comments before submitting a
|
|
|
|
# PR for a new application.
|
|
|
|
|
|
|
|
# Defines your application component. If the application is essential to the
|
|
|
|
# system's operation, add REQUIRED. If it would be beneficial for the user that
|
|
|
|
# this application is built by default, add RECOMMENDED.
|
|
|
|
serenity_component(
|
|
|
|
$1
|
|
|
|
TARGETS $1
|
|
|
|
)
|
|
|
|
|
|
|
|
# Place source files here. You should also add auto-generated headers, if you
|
|
|
|
# have any.
|
|
|
|
set(SOURCES
|
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# Change this to something cool. :^)
|
|
|
|
serenity_app($1 ICON filetype-executable)
|
|
|
|
|
|
|
|
# You should place all the libraries that your application uses here. You can
|
|
|
|
# identify each library by their include path. An exception is LibCore, which
|
|
|
|
# is linked to all components by default.
|
2022-01-07 17:19:55 +05:00
|
|
|
target_link_libraries($1 LibGUI LibGfx LibMain)
|
2023-03-07 23:12:43 +01:00
|
|
|
|
2021-08-12 19:55:17 +00:00
|
|
|
EOF
|