blob: 4fb0ff769c51b2c537b93f17e12a7f5fff7c6890 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
From d824455f0a8622d56b675ea8c2b4edd6f3de6def Mon Sep 17 00:00:00 2001
From: Xiretza <xiretza@xiretza.xyz>
Date: Sun, 5 Dec 2021 19:39:06 +0100
Subject: [PATCH 2/5] Don't build hello worlds
---
CMakeLists.txt | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ac40acfa5..b97e3d132 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -401,10 +401,10 @@ if (APPLE)
endif()
if (NOT QUICK_COMP)
-add_executable(hellosureworld ${PROJECT_SOURCE_DIR}/src/hellosureworld.cpp)
-add_executable(hellouhdm ${PROJECT_SOURCE_DIR}/src/hellouhdm.cpp)
-add_executable(hellodesign ${PROJECT_SOURCE_DIR}/src/hellodesign.cpp)
-add_executable(roundtrip ${PROJECT_SOURCE_DIR}/src/roundtrip.cpp)
+add_executable(hellosureworld EXCLUDE_FROM_ALL ${PROJECT_SOURCE_DIR}/src/hellosureworld.cpp)
+add_executable(hellouhdm EXCLUDE_FROM_ALL ${PROJECT_SOURCE_DIR}/src/hellouhdm.cpp)
+add_executable(hellodesign EXCLUDE_FROM_ALL ${PROJECT_SOURCE_DIR}/src/hellodesign.cpp)
+add_executable(roundtrip EXCLUDE_FROM_ALL ${PROJECT_SOURCE_DIR}/src/roundtrip.cpp)
endif()
if(MSVC OR WIN32)
@@ -576,7 +576,7 @@ else()
WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
endif()
-add_custom_target(PrecompileOVM DEPENDS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/pkg/work/ovm_pkg.sv.slpa)
+add_custom_target(PrecompileOVM ALL DEPENDS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/pkg/work/ovm_pkg.sv.slpa)
add_custom_command(
#TARGET surelog-bin
#POST_BUILD
@@ -590,7 +590,7 @@ add_custom_command(
COMMAND echo " Package OVM created"
WORKING_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
-add_custom_target(PrecompileUVM DEPENDS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/pkg/work/uvm_pkg.sv.slpa)
+add_custom_target(PrecompileUVM ALL DEPENDS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/pkg/work/uvm_pkg.sv.slpa)
add_custom_command(
#TARGET surelog-bin
#POST_BUILD
--
2.36.1
|