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
a9c2ec50
Commit
a9c2ec50
authored
Dec 13, 2014
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake add slots_test
parent
f514bacb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/test_extension/CMakeLists.txt
test/test_extension/CMakeLists.txt
+3
-2
No files found.
test/test_extension/CMakeLists.txt
View file @
a9c2ec50
...
...
@@ -4,11 +4,12 @@ set(CMAKE_SHARED_LIBRARY_SUFFIX ".pyston${CMAKE_SHARED_LIBRARY_SUFFIX}")
add_custom_command
(
OUTPUT
${
CMAKE_CURRENT_SOURCE_DIR
}
/build/lib.linux-x86_64-2.7/basic_test.so
COMMAND python setup.py build
DEPENDS basic_test.c descr_test.c
DEPENDS basic_test.c descr_test.c
slots_test.c
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_library
(
basic_test SHARED basic_test.c
)
add_library
(
descr_test SHARED descr_test.c
)
add_library
(
slots_test SHARED slots_test.c
)
add_custom_target
(
ext_cpython DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/build/lib.linux-x86_64-2.7/basic_test.so
)
add_custom_target
(
ext_pyston DEPENDS basic_test descr_test
)
add_custom_target
(
ext_pyston DEPENDS basic_test descr_test
slots_test
)
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