CMake buildsystem
This commit is contained in:
committed by
Tom Henderson
parent
a4b86694f8
commit
9c876c7f5a
27
src/visualizer/CMakeLists.txt
Normal file
27
src/visualizer/CMakeLists.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
set(name visualizer)
|
||||
|
||||
set(source_files model/pyviz.cc model/visual-simulator-impl.cc)
|
||||
|
||||
set(header_files model/pyviz.h model/visual-simulator-impl.h)
|
||||
|
||||
include_directories(${Python3_INCLUDE_DIRS})
|
||||
|
||||
set(libraries_to_link
|
||||
${Python3_LIBRARIES}
|
||||
${libcore}
|
||||
${libinternet}
|
||||
${libwifi}
|
||||
${libpoint-to-point}
|
||||
${libcsma}
|
||||
${libbridge}
|
||||
${libwimax}
|
||||
${liblte}
|
||||
${libmesh}
|
||||
)
|
||||
|
||||
set(test_sources)
|
||||
|
||||
build_lib("${name}" "${source_files}" "${header_files}" "${libraries_to_link}" "${test_sources}")
|
||||
|
||||
# move visualizer folder to build/bindings/python, which allows us to add only PYTHONPATH=ns-3-dev/build/bindings/python
|
||||
file(COPY visualizer DESTINATION ${CMAKE_OUTPUT_DIRECTORY}/bindings/python/)
|
||||
1
src/visualizer/examples/CMakeLists.txt
Normal file
1
src/visualizer/examples/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user