forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Builds all examples. Corrected name of CBackend target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56682 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Oscar Fuentes
committed
Sep 26, 2008
1 parent
dfe8c84
commit dbc2e85
Showing
6 changed files
with
35 additions
and
2 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,6 @@ | ||
set(LLVM_LINK_COMPONENTS jit bitwriter nativecodegen interpreter) | ||
|
||
add_llvm_example(BrainF | ||
BrainF.cpp | ||
BrainFDriver.cpp | ||
) |
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 |
---|---|---|
@@ -1 +1,11 @@ | ||
add_subdirectory(Fibonacci) | ||
add_subdirectory(BrainF) | ||
add_subdirectory(Fibonacci) | ||
add_subdirectory(HowToUseJIT) | ||
add_subdirectory(ModuleMaker) | ||
|
||
include(CheckIncludeFile) | ||
check_include_file(pthread.h HAVE_PTHREAD_H) | ||
|
||
if( HAVE_PTHREAD_H ) | ||
add_subdirectory(ParallelJIT) | ||
endif( HAVE_PTHREAD_H ) |
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,5 @@ | ||
set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen) | ||
|
||
add_llvm_executable(HowToUseJIT | ||
HowToUseJIT.cpp | ||
) |
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,5 @@ | ||
set(LLVM_LINK_COMPONENTS bitwriter) | ||
|
||
add_llvm_example(ModuleMaker | ||
ModuleMaker.cpp | ||
) |
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,7 @@ | ||
set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen) | ||
|
||
add_llvm_example(ParallelJIT | ||
ParallelJIT.cpp | ||
) | ||
|
||
target_link_libraries(ParallelJIT pthread) |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_llvm_target(CBackEnd | ||
add_llvm_target(CBackend | ||
CBackend.cpp | ||
) |