Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
3f5b4b8e
Commit
3f5b4b8e
authored
Aug 25, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Semi-unrelated fix: don't include extra include files by accident
parent
180c5bf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
from_cpython/CMakeLists.txt
from_cpython/CMakeLists.txt
+5
-5
No files found.
from_cpython/CMakeLists.txt
View file @
3f5b4b8e
# Copy any changed stdlib files to the destination:
# Copy any changed stdlib files to the destination:
file
(
GLOB_RECURSE STDLIB_SRCS Lib/
"*.py"
)
file
(
GLOB_RECURSE STDLIB_SRCS Lib/
*.py
)
file
(
GLOB_RECURSE STD_INCLUDES Include/
"*.h"
)
file
(
GLOB_RECURSE STD_INCLUDES Include/
*.h
)
set
(
STDLIB_TARGETS
""
)
set
(
STDLIB_TARGETS
""
)
foreach
(
STDLIB_FILE
${
STDLIB_SRCS
}
)
foreach
(
STDLIB_FILE
${
STDLIB_SRCS
}
)
file
(
RELATIVE_PATH FN_REL
${
CMAKE_SOURCE_DIR
}
/from_cpython/Lib
${
STDLIB_FILE
}
)
file
(
RELATIVE_PATH FN_REL
${
CMAKE_SOURCE_DIR
}
/from_cpython/Lib
${
STDLIB_FILE
}
)
...
@@ -9,7 +9,7 @@ foreach(STDLIB_FILE ${STDLIB_SRCS})
...
@@ -9,7 +9,7 @@ foreach(STDLIB_FILE ${STDLIB_SRCS})
add_custom_command
(
OUTPUT
${
TARGET
}
COMMAND
add_custom_command
(
OUTPUT
${
TARGET
}
COMMAND
${
CMAKE_COMMAND
}
-E copy_if_different
${
STDLIB_FILE
}
${
TARGET
}
${
CMAKE_COMMAND
}
-E copy_if_different
${
STDLIB_FILE
}
${
TARGET
}
DEPENDS
${
STDLIB_FILE
}
DEPENDS
${
STDLIB_FILE
}
COMMENT
"Copying
${
FN_REL
}
"
COMMENT
"Copying
Python stdlib
${
FN_REL
}
"
)
)
set
(
STDLIB_TARGETS
${
STDLIB_TARGETS
}
${
TARGET
}
)
set
(
STDLIB_TARGETS
${
STDLIB_TARGETS
}
${
TARGET
}
)
...
@@ -23,7 +23,7 @@ foreach(STDLIB_FILE ${STD_INCLUDES})
...
@@ -23,7 +23,7 @@ foreach(STDLIB_FILE ${STD_INCLUDES})
add_custom_command
(
OUTPUT
${
TARGET
}
COMMAND
add_custom_command
(
OUTPUT
${
TARGET
}
COMMAND
${
CMAKE_COMMAND
}
-E copy_if_different
${
STDLIB_FILE
}
${
TARGET
}
${
CMAKE_COMMAND
}
-E copy_if_different
${
STDLIB_FILE
}
${
TARGET
}
DEPENDS
${
STDLIB_FILE
}
DEPENDS
${
STDLIB_FILE
}
COMMENT
"Copying
${
FN_REL
}
"
COMMENT
"Copying
Python header
${
FN_REL
}
"
)
)
set
(
STDLIB_TARGETS
${
STDLIB_TARGETS
}
${
TARGET
}
)
set
(
STDLIB_TARGETS
${
STDLIB_TARGETS
}
${
TARGET
}
)
...
@@ -142,7 +142,7 @@ file(GLOB_RECURSE STDPYTHON_SRCS Python
...
@@ -142,7 +142,7 @@ file(GLOB_RECURSE STDPYTHON_SRCS Python
_warnings.c
_warnings.c
)
)
# compile specified files in from_cpython/P
ython
# compile specified files in from_cpython/P
arser
file
(
GLOB_RECURSE STDPARSER_SRCS Parser
file
(
GLOB_RECURSE STDPARSER_SRCS Parser
acceler.c
acceler.c
grammar1.c
grammar1.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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