Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
263b5a40
Commit
263b5a40
authored
Oct 02, 2014
by
Gavin Bisesi
Browse files
Merge pull request #341 from ctrlaltca/servatrice_install_configs
Servatrice: install example ini and sql schema file
parents
283bac0b
7afdff1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/CMakeLists.txt
View file @
263b5a40
...
...
@@ -88,12 +88,18 @@ endif()
if
(
UNIX
)
if
(
APPLE
)
INSTALL
(
TARGETS servatrice BUNDLE DESTINATION ./
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.ini.example DESTINATION ./servatrice.app/Contents/Resources/
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.sql DESTINATION ./servatrice.app/Contents/Resources/
)
else
()
# Assume linux
INSTALL
(
TARGETS servatrice RUNTIME DESTINATION bin/
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.ini.example DESTINATION share/servatice/
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.sql DESTINATION share/servatice/
)
endif
()
elseif
(
WIN32
)
INSTALL
(
TARGETS servatrice RUNTIME DESTINATION ./
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.ini.example DESTINATION ./
)
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/servatrice.sql DESTINATION ./
)
endif
()
if
(
APPLE
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment