diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | src/browse.cc (renamed from browse.cc) | 0 | ||||
-rw-r--r-- | src/event.cc (renamed from event.cc) | 0 | ||||
-rw-r--r-- | src/minimal_socket.cc (renamed from minimal_socket.cc) | 0 | ||||
-rw-r--r-- | src/sc_export.cc (renamed from sc_export.cc) | 0 | ||||
-rw-r--r-- | src/sc_export2.cc (renamed from sc_export2.cc) | 0 | ||||
-rw-r--r-- | src/utils.h (renamed from utils.h) | 0 |
8 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 373f414..8e3d7fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,6 @@ find_package(SystemCLanguage CONFIG REQUIRED) set (CMAKE_CXX_STANDARD ${SystemC_CXX_STANDARD} CACHE STRING "C++ standard to build all targets.") foreach (X IN ITEMS event sc_export sc_export2 minimal_socket browse) - add_executable(${X} ${X}.cc) + add_executable(${X} src/${X}.cc) target_link_libraries(${X} SystemC::systemc) endforeach() @@ -3,8 +3,8 @@ export CXX = clang++ export SYSTEMC_HOME := $(PWD)/INSTALL -SRCS = $(wildcard *.cc) -BINS = $(SRCS:%.cc=BUILD/UTIL/%) +SRCS = $(wildcard src/*.cc) +BINS = $(SRCS:src/%.cc=BUILD/PLAYGROUND/%) # -- SYSTEMC UTILS ------------------------------------------------------------- @@ -45,7 +45,7 @@ systemc: # -- UTIL ---------------------------------------------------------------------- fmt: - clang-format -i *.cc *.h + clang-format -i src/*.cc src/*.h # -- CLEAN --------------------------------------------------------------------- diff --git a/browse.cc b/src/browse.cc index afc132e..afc132e 100644 --- a/browse.cc +++ b/src/browse.cc diff --git a/minimal_socket.cc b/src/minimal_socket.cc index 7fe7f38..7fe7f38 100644 --- a/minimal_socket.cc +++ b/src/minimal_socket.cc diff --git a/sc_export.cc b/src/sc_export.cc index 7acca58..7acca58 100644 --- a/sc_export.cc +++ b/src/sc_export.cc diff --git a/sc_export2.cc b/src/sc_export2.cc index c5905bc..c5905bc 100644 --- a/sc_export2.cc +++ b/src/sc_export2.cc |