Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
cfab4a0d
Commit
cfab4a0d
authored
8 months ago
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Fix CMake scripts
This fixes ninja builds
parent
3025d3a2
No related branches found
No related tags found
1 merge request
!193
Fix CMake scripts
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/PugsDoc.cmake
+7
-10
7 additions, 10 deletions
cmake/PugsDoc.cmake
with
7 additions
and
10 deletions
cmake/PugsDoc.cmake
+
7
−
10
View file @
cfab4a0d
...
...
@@ -20,13 +20,10 @@ add_custom_target(doc DEPENDS userdoc)
if
(
EMACS AND GNUPLOT_FOUND AND GMSH
)
add_custom_command
(
OUTPUT
"
${
PUGS_BINARY_DIR
}
/doc"
add_custom_target
(
pugsdoc-dir
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
"
${
PUGS_BINARY_DIR
}
/doc"
)
add_custom_target
(
pugsdoc-dir DEPENDS
"
${
PUGS_BINARY_DIR
}
/doc"
)
set
(
ORG_GENERATOR_FILES
"
${
PUGS_SOURCE_DIR
}
/doc/lisp/build-doc-config.el"
"
${
PUGS_SOURCE_DIR
}
/doc/lisp/share/pugs.el"
...
...
@@ -102,12 +99,12 @@ if (EMACS AND GNUPLOT_FOUND AND GMSH)
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
@ONLY
)
set_source_files_properties
(
${
PUGS_BINARY_DIR
}
/build-pdf.sh2
PROPERTIES
GENERATED TRUE
HEADER_FILE_ONLY TRUE
)
#
set_source_files_properties(
#
${PUGS_BINARY_DIR}/build-pdf.sh2
#
PROPERTIES
#
GENERATED TRUE
#
HEADER_FILE_ONLY TRUE
#
)
add_custom_target
(
userdoc-pdf DEPENDS pugsdoc-dir
"
${
PUGS_BINARY_DIR
}
/doc/userdoc.pdf"
"
${
PUGS_BINARY_DIR
}
/doc/build-userdoc-pdf.sh"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment