fix
This commit is contained in:
parent
89165c9baa
commit
a590b2bd4d
2 changed files with 0 additions and 0 deletions
29
Base.cmake
29
Base.cmake
|
|
@ -1,29 +0,0 @@
|
|||
include(GNUInstallDirs)
|
||||
|
||||
macro(setup_project name dir)
|
||||
project(
|
||||
${name}
|
||||
)
|
||||
|
||||
file(
|
||||
GLOB
|
||||
${name}_SRC
|
||||
*.c
|
||||
)
|
||||
|
||||
add_executable(
|
||||
${name}
|
||||
${${name}_SRC}
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
${name}
|
||||
PRIVATE
|
||||
MDELib Mw
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS ${name}
|
||||
DESTINATION ${dir}
|
||||
)
|
||||
endmacro()
|
||||
Loading…
Add table
Add a link
Reference in a new issue