Skip to content

Commit 2bf38e0

Browse files
committed
Exclude server and test targets from "all" target
1 parent 97637b6 commit 2bf38e0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
3434

3535
# Server
3636
add_executable(server
37+
EXCLUDE_FROM_ALL
3738
"src/http_server_main.c"
3839
)
3940

@@ -48,6 +49,7 @@ target_link_libraries(server
4849
# Build the test executables
4950

5051
add_executable(${CMAKE_PROJECT_NAME}-test_ast
52+
EXCLUDE_FROM_ALL
5153
"src/test_ast.c"
5254
)
5355

0 commit comments

Comments
 (0)