-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to CMake-based build system, introduce support for ns-3.38 (#6)
* initial CMake setup * fix channel params * fix missing includes * fix missing update of gen. time field
- Loading branch information
Showing
13 changed files
with
1,032 additions
and
975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
check_include_file_cxx(stdint.h HAVE_STDINT_H) | ||
if(HAVE_STDINT_H) | ||
add_definitions(-DHAVE_STDINT_H) | ||
endif() | ||
|
||
set(examples_as_tests_sources) | ||
if(${ENABLE_EXAMPLES}) | ||
set(examples_as_tests_sources | ||
test/qd-channel-test-suite.cc | ||
) | ||
endif() | ||
|
||
build_lib( | ||
LIBNAME qd-channel | ||
SOURCE_FILES | ||
model/qd-channel-model.cc | ||
model/qd-channel-utils.cc | ||
HEADER_FILES | ||
model/qd-channel-model.h | ||
model/qd-channel-utils.h | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${libspectrum} | ||
TEST_SOURCES test/qd-channel-test-suite.cc | ||
${examples_as_tests_sources} | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
build_lib_example( | ||
NAME qd-channel-model-example | ||
SOURCE_FILES qd-channel-model-example.cc | ||
LIBRARIES_TO_LINK | ||
${libqd-channel} | ||
${libspectrum} | ||
${liblte} | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.